IBM Support

How can I reference controls in the current row of a Spark(BPM UI) table?

Question & Answer


Question

How can I reference controls in the current row of a Spark(BPM UI) table?

Answer

On Demand Consulting
Author: Andriy Melnyk


In order to implement referencing to the current control in the table row you have to use the "=" sign additionally to the control's ID in places where you make reference to the control.

For example, you have a table with 3 columns and three Single Select controls in a row with IDs :
       SingleSelect1, SingleSelect2, SingleSelect3.
By design end users can add new rows to that table creating rows with new Single Select controls. Thus if you make a references to Single Select controls as ${SingleSelect1}, ${SingleSelect2}, ${SingleSelect3} these would be static references to the same Single Select controls when users run a Coach.
literally these would be references to the Single Select controls in the first row created.

Instead if you want to have dynamic references the Single Select controls in every row you should add the "=" sign to the ID of the control such as ${SingleSelect1=}, ${SingleSelect2=}, ${SingleSelect3=}.  This way, the references points to the control on the current row in the table.
 

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSQTW3","label":"IBM On Demand Consulting for Hybrid Cloud"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

More support for:
IBM On Demand Consulting for Hybrid Cloud

Software version:
All Versions

Document number:
772007

Modified date:
29 March 2019

UID

ibm10772007

Manage My Notification Subscriptions