cancel
Showing results for 
Search instead for 
Did you mean: 

Plugs in WD

Former Member
0 Kudos

Hello,

How can I know (or get indication) that an outboaund plug was fired? What is the indication?

Thanks.

Regards,

Shimon.

Accepted Solutions (0)

Answers (3)

Answers (3)

nikhil_bose
Active Contributor
0 Kudos

Plugs are used for Navigation between Views.

Outbound plug starts navigation and an inbound plug which is connected through a navigation link completes navigation.

we can not capture if outbound plug is fired or not. But if you want to display messages before firing Outplug is possible.

Instead, we can get inbound plug which is invoked due on FireOutPlug(). For each inbound plug there will be event handler onPlug<PlugName>()

hope you understand

nikhil

Former Member
0 Kudos

Hi

'Navigation between two views can be done using outbound and inbound plug .

Outbound plug will triger when it is assigned to some action.

In implementation tab on action method the specific outbound plug will trigger as wdThis.wdfireplug<out>();

former_member201361
Active Contributor
0 Kudos

Hi ,

when u fire a outbound plug , normally it goes to the other view .for this u might have created a link between the outbound plug to inbound plug of the Other view in the window.

if u want even u can use the messagemanager or textaccessor to get some messages displayed at runtime.

thanks and regards

Former Member
0 Kudos

Hi

You can get an idea of fired plug with the help of message manager

Eg.

wdComponetnAPI.getMessageManager().reportSuccess ("This plug has been fired.");

Put this line of code after your firePlugOut() code or in action which is triggering plugOut.

If plug is fired then above message will be displayed at run time.

Mandeep Virk