Learn how to create a dynamic Show/Hide reply container using the Assignment interaction
%20(Vignette%20YouTube)%20(34).png)
Show/hide UI elements declaratively using the Assignment interaction in Avonni Dynamic Components. This pattern manages component visibility through state without custom code.
Build a toggle pattern where:
In the Resources panel:
isReplyingfalseThis variable controls visibility of the reply panel.

This container displays or hides based on isReplying.
ReplyInteraction (On Click):
{!isReplying}equaltrueClicking sets isReplying to true. The panel appears.

utility:close or utility:deleteInteraction (On Click):
{!isReplying}equalfalseClicking resets the variable and hides the container.

isReplying equals true.
isReplying is false. Panel hidden.isReplying becomes true. Panel appears.isReplying becomes false. Panel hides.
Two Assignment interactions. No custom code. Done.
Save time, reduce costs, and see your Salesforce projects come to life faster.