Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archive)
Suggested answer

Unable to close web resource html in IE

(0) ShareShare
ReportReport
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

Categories:
  • Suggested answer
    Bipin D365 Profile Picture
    28,958 Moderator 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
    Jorge Landazabal F. Profile Picture
    on at
    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

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard > 🔒Ι Microsoft Dynamics CRM (Archived)

Featured topics

Product updates

Dynamics 365 release plans