Once the dynamic element has been created we can add, edit or delete the variations from the variations tab.
For BOOLEAN element, you can edit each variation's name and description field but not the value field. And also you cannot add/delete a variation. For the rest of element types, you can edit variation's name, value and description field. You can also add a new variation and delete an existing variation.
To add a new variation click on the "Add Variation" button at the top. Give the name, value, and description for the new variation and click on the Save button.
To delete a variation click on the delete button of the respective variation which you wish to delete.
When you create a new element then by default the first variation will be set as default variation. If you wish to change the default variation then click on
Is default variation and click on save button for the variation which you wish to make it as default variation.
Keep the following points in your mind while you are managing variations:
Minimum one variation should be present in an element.
If the element is of a Boolean type then only two variants will be present. And you cannot edit the variation.
Once the element has been created with a particular type then you cannot change the type. For example, if the element is created as a string type then throughout its life the element will be of string type.
When you are creating an element, by default the first variation will be the default variation. Once the element has been created you can change the default variation.
The Addition and deletion of a variation cannot be done at once.
Adding a new variation should be done at the end.
If a variation is part of any rule such as default rule, custom rules, off variation or present in targeted individual users then the variation cannot be deleted.
If a variation is part of any behavior under experience then the variation cannot be deleted.