---
schema_version: "1"
id: d0366e6e479d8ce30fcbe00da73c6005f9eec8a589d4dbef230ed5e79c8c30d7
title: Page Condition Syntax for ui.json
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_wave_templates/guides/reference/bi-templatesdev-page-cond-syntax-ui-json.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-wave-templates/guide/bi-templatesdev-page-cond-syntax-ui-json.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 302ea8da779f9e859a3858e211a7b3b465c9246af4ffeca5f6a29bddf50d1dcb
products:
  - Analytics Templates Developer Guide
  - analytics
---

# Page Condition Syntax for ui.json

You can make a page's appearance conditional on the value of a variable. For example, if the user answers "No" when asked if there is a Products dimension, you can use a conditional to ensure that no Products-related page displays in the wizard. Adding page conditions enables wizard page flow. If the condition is met, then the page with the condition will display; if the condition is not met, the page will not display. Use the following syntax to instruct which conditionals control the display of pages.

| Variable Type                | Supported Operations   | Example                              |
| ---------------------------- | ---------------------- | ------------------------------------ |
| `StringType`                 | `==, !=`               | `{{Variables.x == 'Yes'}}`           |
| `BooleanType`                | `==, !=`               | `{{Variables.x == true}}`            |
| `NumberType`                 | `==, !=, <, <=, >, >=` | `{{Variables.x == 5}}`               |
| `SobjectType`                | `==, !=`               | `{{Variables.x.sobjectName == 'x'}}` |
| `SobjectFieldType`           | `==, !=`               | `{{Variables.x.fieldName == 'x'}}`   |
| `ArrayType` --> `StringType` | `contains`             | `{{Variables.x contains 'x'`123}}`   |
| `ArrayType` --> `NumberType` | `contains`             | `{{Variables.x contains 5}}`         |
