on 2020 Jan 03 10:06 AM
Hi All,
I have created a custom component ZPOPUP and used standard opportunity overview page BT111H_OPPT. From one event handler on opportunity page I am calling the custom component as a popup window and taking inputs like Email address, subject and message on that popup window.
I am trying to achieve that the data passed in the webui popup must be passed on to the same window( from where we clicked to open the popup) when we click on done button on popup window. How can we achieve this?
Request clarification before answering.
Hello Mandeep,
Please follow the below steps :
1. Create an instance of the pop-up in the overview page. Send your data in the pop-up collection. Keep your pop-up instance in the global variable of the implementation class of the overview page. Launch the pop-up.


2. In the POP-UP BSP component's main window, create a context node 'XXX' with the attributes you need in your overview page.
3. Now, in the event handler method of the pop-up close event, get the pop-up instance from the global variable. Get the instance of the context node 'XXX' using the pop-up instance. Then retrieve the required attribute values using the context node instance.

Thanks and regards,
Tanaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tanaya,
Thanks for your inputs. I have called the custom bsp component as a popup from my event handler on overview page(standar component.
I have understood point no 1 & 2. Now, I am not able to achieve point no 3. You have mentioned that the I have to do it in event handler method of pop up close event. I want to know where this event handler has to be written whether in Custom component or in the standard component. Also, after putting details on popup and clicking on ok button, the code control must back to the event handler in overview page as I have the further code to be executed. Please let me know in case you have any more queries.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.