Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Unable to close web resource html in IE

Posted on by 170

Hi Experts

  I am having issue with closing web resource closing. I am opening a popup in dynamics 365 it works fine in chrome and Edge.

I am using 

window.close(); to close the popup. This is not working in IE.

I tried open(location, '_self').close(); and window.setTimeout("window.close()", 1);

no luck.

Any help in this?

Regards

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Unable to close web resource html in IE

    Hi,

    Use navigateTo client api to open web resource which is OOB supported code and we can use code to close web resource.

    See below link

    butenko.pro/.../

    If found helpful, Please mark my answer verified.

  • Suggested answer
    RE: Unable to close web resource html in IE

    Hi Rupesh

    I have tested and the functionality below is working fine for me.

    BUG: You cannot close an Internet Explorer window by using the window.setTimeout(window.close,1) method in Windows XP Service Pack 2

    My OS is W10 Enterprise - Last public Update

    Regards

    Jorge Landazabal

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans