cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically changing the default plug?

Former Member
0 Kudos

Hi all,

Is it possible to change the default plug of an window in runtime.scenario is like i have 2 components component A and component B.So if from component A i want to access a view 1 of component B.i have to embed a new window with default view as view 1.So if again from component A i want to access a view 2 of component B.i have to again embed a new window with default view as view 2.In order to create many multiple windows with different default views.Is is it possible to change it dynamically.?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I believe what you are looking for is done using the "Empty View". What you do is embed an "Empty View" in the window as the default view. You do that by right-clicking the window and you will find the option to do so. Then, in the default inbound plug of the empty view, you code the logic that decides which view should be displayed and then you fire a proper outbound plug that you link to that view.

Former Member
0 Kudos

Thanks will check out about the empty view concept