Question
3
Replies
4518
Views
Posted: November 26, 2016
Last activity: November 27, 2016
Closed
How to close modal dialog box through javascript
my requirement is to close modal dialog on conditional bases if i have called activty and close/save/update onClick it is closing every time regardless my conditions in activity. so i have written a Pragraph rule i need javascript code to close modal dailog i have tried wdindow.close() but didn't work
For closing modal dialog you can use pega.u.d.hideModalWindow java script function. However can you explain your exact use case what you are trying to achieve here. May be we can help with a better solution than using custom js.
Thanks :)