cancel
Showing results for 
Search instead for 
Did you mean: 

Setting the defualt view at Runtime

Former Member
0 Kudos

Hi

I am having a scenario in which i have two views Say 'Approve' and 'Reject'.

During execution i will send a parameter through URL.

Based on the Parameter suppose if the parameter value is 'approve' then Approve View should be showned and if the url parameter is 'reject' then Reject view should be showned.

so only one view should be showned at runtime

Thanks in advance.......

Regards

Chandran S

Accepted Solutions (1)

Accepted Solutions (1)

Yashpal
Active Contributor
0 Kudos

Hi ,

you have to set one view as a default view . say 'Approve' .

and then u have to create outbound plug in window and a inbound plug in Reject view and then create a navigation link between them . now on the default handler of window check that paramter u r receiving , if its reject then fire the plug else do nothing , the default approve will be displayed.

Regards

Yash

Former Member
0 Kudos

Hi Yashpal Gupta

Problem Solved, Thanks a lot for providing this solution..

Regards

Chandran

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

set one view as default so that application should display that view.