web
You’re offline. This is a read only version of the page.
close
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 6

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 !

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans