Pass argument with pop-up

Hi,

I have a problem with a pop-up. So I have one pop-up which create something and I need to pass the id of the newly created item to be passed to the parent screen. I only don't see where the passed argument can be captured and how.

Can someone help me with that?

Hi Brecht Decuyper,

I'd suggest to have a look in this document of OutSystems, where maybe you'll find what you are looking for:

https://success.outsystems.com/Documentation/10/Developing_an_Application/Design_UI/Reuse_UI/Propagate_Changes_From_a_Block_to_the_Parent

Let us know if you made it!

Regards,

Solution

Hi Brecht,

Which version of OutSystems are you using?

To pass a message to the parent you use the Popup_Editor_Notify Action. In the parent OnNotify screen action (defined in the PopupEditor widget in the parent), you use NotifyGetMessage to get the message. 

You have this information on OS10 documentation and training.

The notification system is marked as DEPRECATED in OS11, but can still be used (just the name of the action will have a _DEPRECATED appended, I think.

Cheers.

https://www.outsystems.com/learn/lesson/867/scaffolding-and-richwidgets/

https://success.outsystems.com/Documentation/10/Developing_an_Application/Design_UI/Inputs/Create_and_Use_a_Popup

https://success.outsystems.com/Documentation/10/Reference/OutSystems_APIs/System_Actions

Solution

Hi Brecht


If you use the OS 11 you can have some information in

https://www.outsystems.com/learn/lesson/1787/web-blocks/

Regards