cancel
Showing results for 
Search instead for 
Did you mean: 

Fire Plug from one window to another

Former Member
0 Kudos
42

Dear All,

Is it possile to fire an outbound plug from one window to another?

I am using a Popup window and on clicking a button in the popup window, I want to navigate to another view in the parent window.

I know there are other ways to handle these kind of scenarios like using an eventhandler in the parent view and them firing a plug, but that would affect the rest of the applicatin flow.

So I cannot avoid firing the plug from the view in the popup window.

Can it be done?

Thanks and regards,

Mayuresh

Accepted Solutions (0)

Answers (1)

Answers (1)

sanyev
Active Participant
0 Kudos

Hi Mayuresh Kanvinde ,

I believe your popup is a modal window. If so in your action handler of the button on the popup window you can hide the popup window and then fire the navigation plug of your parent window.

Your popup button action handler can call a method in your component controller where you can write the code to hide the existing popup window and then fire the plug in your parent window.

make sure you store the IWDWindow object of your popup window on the context so that you have access to it to hide the popup window.

Regards,

Sanyev