Hi,
Is there any supported way to open an html Webresource as an dialog from a button in Dynamics 365?
Thanks
*This post is locked for comments
Hi,
Is there any supported way to open an html Webresource as an dialog from a button in Dynamics 365?
Thanks
*This post is locked for comments
Alert.js as currently implemented is using unsupported techniques, such as modifying the CRM form's HTML. This results in failing compatibility tests run by Microsoft prior to allowing publishing to AppSource.
Hi Vanita,
I have used Alert.js and this is a good option. You are allowed to use custom JavaScript as long as you are not using any unsupported commands/script or violating rules defined by Microsoft.
Hi Luca,
I see what you are saying, but in that sense any javascript customization would be unsupported.. "Unsupported" for CRM means something very specific: utilizing some unpublished methods in the XRM library or using direct DOM access would be two examples- those are unsupported because Microsoft does not guarantee their availability in the newer versions of CRM. As far as I know, alert.js is not relying on such features, but I may be wrong of course.
Basically, all I'm saying is.. alert.js seems to be a good choice, and it's not less supported than any other javascript customization (which is a "supported" way to customize CRM)
Hi Alex, I would say Alert.js is unsupported because, if you encounter problems, you cannot ask Microsoft to support the issue, since it's not an OOB feature of the CRM. This does not mean it's not perfectly compatible though.
There is nothing unsupported in using javascript to open a web resource - not sure why alert.js etc would be called unsupported as opposed to Xrm.. The only caveat is that alert.js is not provided by Microsoft. But it's not relying on the unsupported methods, so it's absolutely "legal" (whether it works on all platforms/browsers/etc is a different question again)
Refer this blog:
mscrm-njl.blogspot.sg/.../open-html-webresource-as-window-or.html
Hi Vanita,
I have the supported way for open html dialog box but I will charge for it.
If you interested ,please contact via mail.
Thanks and Regards
Jasdeep Singh
email- Mr.jasdeepsingh@gmail.com
Hi
I do not think there is any other (than Xrm.Utility.openWebResource) supported way.
Hi vanita, I've used the fantastic Alertjs library before for this.
See https://alertjs.codeplex.com/documentation#Alert.showWebResource
I don't think there is any supported way to show a webresource in a dialog, but I prefer to use an external library rather than hidden/unsupported methods within the Xrm namespace.
Yes,we tried.It open web resource in a window but we want to open it as an dialog so user doesn't have control on parent window.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156