Get Data Record List from PopUp Editor Widget

Get Data Record List from PopUp Editor Widget

  

Hi Everyone,

Is there a way that i can get data record list from pop up widget?


ParentRecList  = local variable in parent screen (data type is __ Record List)

PopUpRecList  = local variable in popup screen (data type is __ Record List), source record list of Table in Parent screen


- on pop up screen I need to input Date(From-To) and Time(From-To) then by clicking the button it will add(append) data to PopUpRecList then the pop up closed.

- on parent screen notify action it should set the PopUpRecList to the ParentRecList then refresh the table records.


Thanks in advance.

Astral

Hi Astral,

Unfortunately, this is not possible. Pop-ups are screens in their own right, and don't share any data with the "calling" screen. If you want to pass data, you can do so via a Notify, and/or store data in the database.

Kilian Hekhuis wrote:

Hi Astral,

Unfortunately, this is not possible. Pop-ups are screens in their own right, and don't share any data with the "calling" screen. If you want to pass data, you can do so via a Notify, and/or store data in the database.


Thank you for your quick response.

One idea is to serialize record list to JSON and put JSON into PopupNotify message...

Then on parent screen, on PopupNotify event, retrieve the JSON then deserialize it back into record list.