Notifications
Announcements
No record found.
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,
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
Regards,
Clofly
Thanks alot
If you had found the answer helped, please kindly mark as verified, it would be greatly appreciated.
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 Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
iampranjal 41
Martin Dráb 36 Most Valuable Professional
Satyam Prakash 35