Hello,
Is it possible to refresh a screen aggregate when a client action from a Block gets executed?
In my Screen, I have a Popup Widget that calls the Signature Block. In the Block there is a Button Widget that executes Save Client Action on click. I want to refresh the Screen Aggregate after the Save Client Action gets executed.
Thank you!
Hello JR ,
Its possible Create event in the block as "refresh" on the button click of the web block drag that event before event you will get error on screen for the handler so create new client action as handler in that refresh the aggregate which is already present in the screen(refresh the aggregate what you want to refresh) this is for refresh aggregate
if you want to pass value from block to screen you will need input parameter for event and than in the handler you will get the value from block to screen
Edit: go through this documentation for reference
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Reuse_UI/Use_Events_to_Propagate_Changes_From_a_Block_to_the_Parent
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Reuse_UI/Pass_Data_Between_Blocks
Thanks and Regards,
Akshay Deshpande
Hi,
You can trigger an event in your block (define it in the block context and then use it in the flow of your button related action) and then you configure the Event Handler in your screen to do what you need.
You can pass values trough events like input parameters.
Hope this can help.
Best regards,
Ricardo
Hello @Akshay Deshpande 🚀 and @Ricardo Pereira,Thank you both for your answers! I have used your solutions and it solved my problem. Have a nice day!
Glad to help you :)Keep coding