Manage conditions
The Conditions page lets you locate, duplicate, publish and delete conditions. You can also view details of a condition, including how to obtain the friendly ID and see where a condition is used in Sitecore Personalize.
If your organization is using Sitecore Cloud Portal, team members with a User, Developer, or Admin role in Cloud Portal can manage conditions.
If your organization is not using Sitecore Cloud Portal, you must have an Enterprise Designer role to manage conditions.
Locate
Locate a condition with the help of the following features:
-
On the navigation pane, click Developer center > Conditions.
-
On the Conditions page, click the Out of the Box or Custom option to view conditions by type. This image shows out-of-the-box conditions.
-
Search for a condition by its name, identifier, or content.
-
Apply these filters to locate conditions:
-
Tags - filter by one or more tags.
-
Compatibility - filter on whether the condition is compatible to interactive, triggered, web, or all types.
-
Status - filter on whether the condition is published or has a status of draft. This is only available for custom conditions.
-
Last Updated By - filter by the user who last updated the condition. This is only available for custom conditions. To sort the conditions list according to first or last updated, click on the column heading.
-
Publish
You can publish a condition when you want to make it available for users to apply to an experiment or experience. After a condition is published, you can not edit it.
To publish a condition:
-
From the Conditions page, open the condition you want to publish.
-
Click Publish.
-
In the confirmation dialog, click Publish. The status of the condition is updated from Draft to Published.
Duplicate
You can duplicate a condition to copy its code, description and tags into a new condition.
To duplicate a condition:
-
From the Conditions page, open the condition you want to duplicate.
-
Click Duplicate.
-
In the Name your template field, enter a new name for the condition.
-
Click Create.
Copy code
To copy code from the JavaScript editor to a new condition:
-
From the Conditions page, open the condition from which you want to copy code.
-
Click Copy and paste the code into the JavaScript editor of a new condition.
View details
You can view the details of a condition, including the entities that use it, along with the friendly ID.
To view the details of a condition:
-
From the Conditions page, open the condition you want to view.
-
On the Usage pane, you can see the number of places in which the condition is reused.
-
To see a detailed list of where the condition is used, click View list.
-
In the Usage dialog, to open a place where the condition is used, click .
Delete
You can only delete custom conditions if they aren't used in any experiments or experiences.
To delete a condition:
-
From the Conditions page, open the condition you want to delete.
-
Click > Delete.