Duplicate a demo UI interaction
Create a duplicate of a demo UI interaction example to work with a separate, editable copy.
Before you begin
Demo data is available after loading it once from the demo data plugin (sn-interaction-builder). For instructions, see Working with UI interaction demo data.
Role required: ui_builder_admin
About this task
Demo UI interaction records define sample UI logic and scripts used to demonstrate common interaction patterns.
When you duplicate demo data, you create a separate copy. You can run or customize this copy without impacting the original record. The duplicated interaction is independent of the original demo and can be safely modified. Demo interactions appear in the UI interactions list like any other interaction, allowing you to open, review, or duplicate them for use in your own scope.
Note: The Cascade Delete demo interaction example must be duplicated in the global scope for its first server script step to run correctly. This requirement is unique to Cascade Delete; all other demo interaction examples function normally when duplicated in your application scope.
Procedure
Navigate to All > Now Experience Framework > UI Builder.
Select the UI interactions tab.
In the Search UI interactions field, enter
demo.
UI interactions list with demo interactions listed.
The list filters to show interactions containing **demo** in their labels or descriptions.
Locate the demo data record that you want to duplicate.
Open the record.
Select the Settings tab.
Settings tab.
- In the record header, select Duplicate.
Settings tab for demo interaction with Duplicate action highlighted.
Update the Name and Description fields, as needed.
Select Create.
Result
A new UI interaction record is created in your current application scope, ready for editing.
What to do next
To use your duplicated interaction, trigger it using one of these methods:
- From declarative action: Corresponding declarative actions are inactive by default and must be enabled to test.
- From UI Builder page event. See Trigger a UI interaction from a page event.
Parent Topic:Working with UI interaction demo data