Jennifer Häfner
Has successfully completed the online course Intermediate (200)
Has successfully completed the online course Advanced (300)
Has successfully completed the online course Basics (100)
Has successfully completed the online course Advanced (310)
Has successfully completed the online course Advanced (320)
Has successfully completed the Intermediate Certification
Has successfully completed the Advanced Certification
1 year ago
#38473
::
Hi Max,
You can use the widget property ‘Data Source’ to bind data from a collection to a widget, in your example, a CheckBox. Here’s how to do this:
- Place a CheckBox inside a container, for example, a FlexBox
- In the CheckBox, open the dialog of the property ‘Data Source’ and select the Connector/Business Object/Global Variable where your data comes from. Then, select the output parameter that should be used (the data type of the output needs to be a collection, not ‘any’)
- In the CheckBox’ property that you want to bind (for example, ‘text’ or ‘selected’), open the binding dialog next to the property and select ‘Data Source’. Then, select the field of the output parameter that you want to bind
- Drag and drop the Data Source from the CheckBox into a story in the Process Designer. Connect the automatically created shape to the event that should load the data from the backend
This process is also described in the Intermediate course, with a List instead of a CheckBox: https://community.simplifier.io/202-2/ (starting at around 8:40)
I hope this helps!