Posts

Showing posts with the label Dynamic Interactions

Dynamic Interactions on Lightning App Page

Image
Salesforce provides multiple ways to communicate between components which are not related to each other. E.g. pubsub module  or Lightning Message Service . For the components which are related to each other, one can use public properties of component in addition pubsub module or Lightning Message Service. However, it was not possible to use the public properties with unelated components on lightning app page. Recently, Salesforce has introduced dynamic interactions which lets you use public properties of components with unrelated components with some manual configurations. Lets understand how dynamic interactions can be used in lightning app page. NOTE: Dynamic Interactions are supported only on lightning app pages with limited activity between components What it takes to use dynamic interactions? A components which defines the event schema and publish the event, a component with public properties and few configurations on lightning app page. Lets