Breadcrumbs

AddBindingInWidget

Summary

This blocks is used to add a Binding in an existing widget.


Implementation

  • Drag and drop the block from the palette

  • Link the "execute" action from the "executed" topic of the previous block


Example

TODO


 Properties

  • Artifacts:  Artifacts created by this block

    • Binding: The created binding. 

  • TargetPx: Strategy parameter to define the px where the widget will be added. See General strategy parameters

  • TargetWidgetId: Id of the target Widget.

  • Binding: The Binding to add


AdvancedConfig

  • WidgetId: SFormat used to target the widget. Must be a unique value. Shouldn't be changed

  • PreserveIdentities: If enabled, the block writes the names of all widgets into the pxFile. This enhances performance when reading and updating the same px within a single strategy.


Behavior: DO

A binding is added in the target widget. 


Behavior: UNDO

The binding is removed the from target widget.