Hi,
Whenever click the button action need to close the browser current tab. I have tried in Traditional web and it's working fine but Reactive web is not working.
Hi @Kumaresan R,
You can use below JavaScript to onClickButton action
window.close();
Thanks, Aadhavan S
Hi @Aadhavan Shanmugam,
Thanks for your response and I've tried in Reactive Web. But, I can't able to close a browser tab using the javasript "window.close()"
Please find this link.
Thanks, Kumaresan R
This will only work in Internet explorer. Due to security issues, this comment will not work in the Chrome browser.
window.open('','_self').close() - This will also will not work in your case.
Let me find the alternatives.
Yes working in Internet explorer only. If you got any other alternate solution please let me know.
Thanks.
Hello Kumaresan,
You can refer to this JavaScript
window.open('','_self').close()
Regards,
Ajit kurane.
Hi Ajit, this comment is also not working in chrome
Hi @Ajit Kurane,
Thanks for responding, We will find the alternate solution for Chrome, Mozilla Firefox and Microsoft Edge.
Hi Kumaresan R,
If you find any solution Regarding how to close the currrent tab when clicked on button in chrome, Microsoft Edge in Reactive web Application. could you Please share it here as iam also facing the same issue.
Thanks
Charitha
@Kumaresan R
you can visit this https://www.outsystems.com/forums/discussion/72237/reactive-web-adding-a-custom-session-timeout-browser-close-event/ discussion.
Thanks,
Sonali Verma
Hi! I also waiting for the decision for work from Chrome.
Thank you!
productivity tracker developer
Hi can you please the solution for this problem