Learn how to create a dynamic Show/Hide reply container using the Assignment interaction
%20(Vignette%20YouTube)%20(34).png)
Learn how to create a dynamic Show/Hide reply container using the Assignment interaction in the Avonni Dynamic Components App. This example demonstrates how to manage component state declaratively.
Build a UI where:
In the Resources panel:
isReplyingfalseThis variable controls whether the reply panel is visible.

This container will be shown or hidden based on the value of isReplying.
ReplyInteraction Configuration (On Click):
{!isReplying}equaltrueClicking the button sets isReplying to true, which will display the reply panel.

utility:close or utility:deleteInteraction Configuration (On Click):
{!isReplying}equalfalseClicking the icon resets the variable, hiding the container again.

isReplying is equal to true.
Result
isReplying is false, so the reply container is hidden.isReplying to true, making the container appear.false, hiding it again.
All of this logic is handled declaratively with just two Assignment interactions—no custom code required
Save time, reduce costs, and see your Salesforce projects come to life faster.