HampasLOUpa Posted February 1, 2019 Report Share Posted February 1, 2019 I have a Details Report DataPage on the Destination and Messaging of the DataPage. I want it to display the message first, then close the DataPage. Quote Link to comment Share on other sites More sharing options...
0 AnchovyXL Posted February 1, 2019 Report Share Posted February 1, 2019 I found out that as of 2017, there is no way to close a web browser tab or window using JavaScript. Modern security standards do not permit this behavior. The Window.close() method closes the current window, or the window on which it was called. This method is only allowed to be called for windows that were opened by a script using the window.open() method. If the window was not opened by a script, an error similar to this one appears in the console: Scripts may not close windows that were not opened by script. You can check this website for reference:https://www.computerhope.com/issues/ch000178.htmhttps://developer.mozilla.org/en-US/docs/Web/API/Window/close I hope this helps. Quote Link to comment Share on other sites More sharing options...
Question
HampasLOUpa
I have a Details Report DataPage on the Destination and Messaging of the DataPage. I want it to display the message first, then close the DataPage.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.