---
title: Widget properties
slug: configured-commerce/sdk/data-available-in-cms-widgets
createdAt: 2026-08-05T19:24:05.151Z
---

When editing theme resources (widgets), the following variables are available using the \[\{ }] notation:

## CMS-specific properties

| Property Name    | Value                                                                                                                                   |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| IsViewingMode    | Returns  **true**if the current user is **viewing the page** (and not editing or previewing the page).\*                                |
| IsPreviewingMode | Returns  **true**if the current user is **previewing the page** in the CMS.\*                                                           |
| IsEditingMode    | Returns  **true**if the current user is **editing the page** in the CMS.\*                                                              |
| CurrentPage      | Returns an object representing the page the current user is viewing. Properties on this object that are commonly used are listed below. |

\*Only one of these properties will return true at a time. The other two will return false.

## Common CurrentPage properties

| Property Name | Value                                                                                          |
| ------------- | ---------------------------------------------------------------------------------------------- |
| Title         | Returns the value of the **Title** property for the current page, as specified in the CMS.     |
| PageTitle     | Returns the value of the **PageTitle** property for the current page, as specified in the CMS. |
