Create dynamic, data-driven interfaces with different layouts based on item properties using collection prototypes.
type
, status
, priority
)featured
, active
, high
)type
property:
Collection with multiple prototypes in action
Normal product display
Recommended product display
Add a Service Task Node
Adding a Service Task node
Configure the Business Rule
Configuring a business rule
Write the Data Preparation Code
Test Your Data
Verifying business rule output
Create a User Task Node
Opening the UI Designer for a User Task node
Add a Collection Component
products
).Adding a Collection component
collectionSource
property specifies the process key where your list can be found. It should be a valid array of objects. For example, if your data is at processData.products
, you would set the source to products
.Add Collection Prototypes
type
)normal
)Configuring a Collection Prototype
Design Each Prototype's Layout
${name}
${description}
Adding components to a prototype
Create a Node Action
selectItem
)Adding a Node Action
Configure a UI Action
Adding a UI Action
Test the Interaction
Before selection
After selection
name
instead of app.clients.name
Prototype not displaying correctly
UI actions not working
Data binding issues
name
instead of app.clients.name
)Can I use different layouts for mobile and desktop?
How do I handle missing identifier values?
Can I use expressions in prototype identifier values?
Is there a limit to how many prototypes I can define?
What's the difference between Collection and Collection Prototype?