cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger the event when leave current iView

Former Member
0 Kudos

Hi Expert,

We have this common senario: when leave current iView(eg, change the menu, close the window etc) we need to notify user whether they want to save current content or not, but I found wdDoExit(in views or coponent controller) can not be triggered

Is there any event we can use to reside these logic?

Thanks in advance.

Best Regards,

William

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

How about trying to use the wdDoBeforeAction event? You can use a flag to keep track of whether or not there is unsaved data, and check it in the above-mentioned event.

Walter

Former Member
0 Kudos

Hi,

you can trigger an event in the plugin-method of the next view.

regards

Gunter

Former Member
0 Kudos

Does Anyone hear me here?