Question

10
Replies
3433
Views
Close popover
Mikhail Ilyin (MikhailI4583)
LANIT-BPM

LANIT-BPM
RU
MikhailI4583 Member since 2014 7 posts
LANIT-BPM
Posted: January 21, 2016
Last activity: February 25, 2016
Closed
Solved

How to specify some actions on Tab close event

Hi!

I have an application where work objects are opened as a new window (tab). I want to specify some action for tab closing event(call activity, call data transform, for example)/ But I Have No idea ho to do this. I found an activity Work- DoClose but it is final and there are no extension points in it.

Also I found a PDN article, where i saw the following script:

window.onbeforeunload = function(e) {

          document.getElementById('hiddenfieldname').fireEvent('onchange');

}


hiddenfieldname is a Hidden Text control where I can specify actions on Action tab. But this function does not work. I tried to replace document.getElemetByID....... with alert('123'); but it takes no effect.


Please, tell me, is it possible to extend this tab close event?


P.S.

Browser: Chrome, IE

PRPC 7.1.8


Thanks.


Mikhail Ilyin

User Experience Low-Code App Development
Moderation Team has archived post