cancel
Showing results for 
Search instead for 
Did you mean: 

trigger view

Former Member
0 Kudos
61

Hi,

I want to trigger different forms on parameter scenario. So each scenario has his on view/form. How can i do this. Do i need to define parameters in the plugs? what code do i need to use?

thanks in advance

View Entire Topic
Former Member
0 Kudos

Hi

Try this

if

(wdContext.currentOutputElement().getScenario().equals("YWPA"))

wdThis.wdFirePlugToYWPA();

else

if

(wdContext.currentOutputElement().getScenario.equals ("YEMP"))

wdThis.wdFirePlugToYEMP();

Regards,

Ajay

Former Member
0 Kudos

Ajay,

This solved the problem thanks

Former Member
0 Kudos

Try this:

if

(wdContext.currentOutputElement().getScenario().equals("YWPA"))

wdThis.wdFirePlugToYWPA();

else

if

(wdContext.currentOutputElement().getScenario.equals("YEMP"))

wdThis.wdFirePlugToYEMP();