Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Unable to close html dialog from Java script

(0) ShareShare
ReportReport
Posted on by 2

Hi,

On click of entity ribbon, I am calling a JS which will open the html page in a dialog mode. The HTML contains 2 field & 1 OK button and on click of OK button it is processing my code with out any issues. Now the problem is after OK button is clicked, the html dialog is not getting closed.

Looking for some help on how to close the html dialog in my scenario.

Thanks in advance !

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Unable to close html dialog from Java script

    Hi Irakli Ioramashvili,

    Did you try to  execute window.close() when you click the OK button in the HTML?

    If this could not work, please provide your code for further research.

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Adis Profile Picture

Adis 136 Super User 2025 Season 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 81

#3
Jonas "Jones" Melgaard Profile Picture

Jonas "Jones" Melgaard 77 Super User 2025 Season 1

Product updates

Dynamics 365 release plans