Hello All,
I am trying to open a custom HTML using the Xrm.Navigation.openWebResource, and in the supporting Javascript file for the html page i am trying to use the Xrm.Utility.getResourceString method, and this is giving me the following error Web resource name "...." not found in the system. I debugged and found that DependencytoGUIDMap is null which will be usually loaded on the window object. The same is working on a form page, bot not a html web resource. Any help is appreciated.
*This post is locked for comments
Please review the detailed steps listed out in this blog.
medium.com/.../localize-your-web-resources-dynamics-crm-365-5acd0e2458ce
Hello,
Here is workaround that you can use to use getResourceString in Html webresources - butenko.pro/.../how-to-use-xrm-utility-getresourcestring-in-html-webresources
Hello,
I'm struggling with the exact some behaviour.
Using Xrm.Utility.getResourceString works fine in a javascript file. But usage in an HTML WebResouce just brings up this error.
Any fixes or workarounds here to use resx localization here?
EDIT: As stated in the MSDN Notes Xrm.Utility.* Methods should work inside a HTML WebResource
https://msdn.microsoft.com/en-us/library/gg309536.aspx#Reference%20other%20web%20resources%20from%20an%20HTML%20web%20resource
Hi Thanks for answering, this is a different issue,as you can see i am trying to get a localized string for a given key from the resx file. The Xrm.Utility.getResourceString does that for you. The same function, is giving me desired result on a form page, but not on a html page opened using Xrm.Navigation.openWebResource. Let me know if you need more details.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156