Hello,
I am using window.showmodaldialog and window.open to open html web resource from javascript mscrm.will these be depreacated soon as these functions are related to javascript inbuild right ?
Hi Krishna,
If you had found the answer helped, please kindly mark as verified, it would be greatly appreciated.
Regards,
Clofly
Thanks alot
1. window.showmodaldialog and window.open are inbuild client javascript function, so they won't be depreacated in crm.(But they could be said to be unsupported, you can still use them)
2. window.showmodaldialog was removed in Chrome 43, and Firefox 56.
https://developer.mozilla.org/en-US/docs/Web/API/Window/showModalDialog
3. Xrm.Navigation.openWebResource is recommended way to open web resource in crm.
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/openwebresource
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
DAnny3211 359
Abhilash Warrier 137 Super User 2025 Season 2
Martin Dráb 77 Most Valuable Professional