cancel
Showing results for 
Search instead for 
Did you mean: 

navigation on WDDOMODIFYVIEW

former_member221367
Participant
0 Kudos

I have three views

first view having two button

           a. by first button have to call second view through navigation ,its working fine.

           b. by second button need to call third view as a pop up  window and third view having a button through which have to call second view .

        

but when I put code for navigation on first view's WDDOMODIFYVIEW method( for my b.requirement ) its giving dump.

cant we do navigation on  WDDOMODIFYVIEW????

please give me suggestion for my requirement .

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Why not write the code in the button action method? That's the correct place to do it whether you displaying a pop-up or firing a plug.

former_member221367
Participant
0 Kudos

if I put navigation plug on  any method of third view its giving dump as navigation is not possible ( may be  I have put  navigation  plug already on a button of first view

Former Member
0 Kudos

you are using button provided by system on popup if  yes then you have to register this button

but if you are using button you create in third view then just call window close() method

former_member221367
Participant
0 Kudos

thanx Upendra and Jinterndra for ur reply ,when I click button on my popup window cursor  comes on modify view of first screen .I put coding for navigation on init method also but its not working.

Former Member
0 Kudos

as per your requirement by clicking button on poup yopu want to display second view righ

your poup window called from second view so just calling close( ) method of (third view ) window

you will be at second view

Former Member
0 Kudos

In your third view which you are showing as Pop Up the Button which calls the second view is a Pop- Up button(like OK, Cancel, Yes, No) or is the button of the View ??

Former Member
0 Kudos

WDmodifyview is not place where you can call plugs for plugs either you can use window for (start and exit plugs) or your action for firing any plugs asper your details you have button for calling each view you just have to call plugs in these button action

Former Member
0 Kudos

Dear Ankita,

You should use WDDOMODIFYVIEW  for modifying the view, i.e. adding/removing/rearranging UI elements.

As you described,  you are having buttons for navigating from one view to another, you should write your navigation code in action method of those buttons.

Warm Regards,

Upendra Agrawal