Hi,
Here I have opened a HTML web resource, but It can't close using window.close() in Unified Interface App and It's working in WEB.
How to close/hide that HTML web resource using code?
Please suggest me.
*This post is locked for comments
Hi,
Here I have opened a HTML web resource, but It can't close using window.close() in Unified Interface App and It's working in WEB.
How to close/hide that HTML web resource using code?
Please suggest me.
*This post is locked for comments
Hi,
We have achieved using window.top.close() it's working in both Unified client interface & Classic UI.
Hi,
There is no way. You can just use back button or use popup. But make sure that if you are going to publish your product on AppSource, Microsoft will reject your app in case of using popup. I just experience this.
Hi Keyur,
I tried with the above code but it does not works. Is there any other way to close a window using code?
Hi ,
Please use this code :
closeWindow(true);
This function is working by default in html web resource.]
Thanks,
Keyur Shah.
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,407
Most Valuable Professional
nmaenpaa
101,156