Hello,
I have written a JS method that checks several fields on a form and i would like to call it on a before Unlock event.
The use case would be, when an user wants to save / unlock an item, a popup opens if certains conditions aren't met and prevent him from unlocking the item.
Thanks !
Léo
Hi Leo,
Unfortunately, there is no way to take advantage of a Client Method from an onBeforeUnlock Server Event. However, you can set a JS method to run from an event directly on the Property itself, so that some condition is checked each time the property is edited for example.
Would this kind of event work for your use case?
Chris
Christopher Gillis
Aras Labs Software Engineer
Hi Leo,
Unfortunately, there is no way to take advantage of a Client Method from an onBeforeUnlock Server Event. However, you can set a JS method to run from an event directly on the Property itself, so that some condition is checked each time the property is edited for example.
Would this kind of event work for your use case?
Chris
Christopher Gillis
Aras Labs Software Engineer