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 CRM (Archived)

Localization in HTML web Resource

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Rawish Kumar Profile Picture
    13,758 on at
  • Shashichandra K Profile Picture
    on at

    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.

  • Community Member Profile Picture
    on at

    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

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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

  • Suggested answer
    plkgupta Profile Picture
    15 on at

    Please review the detailed steps listed out in this blog.

    medium.com/.../localize-your-web-resources-dynamics-crm-365-5acd0e2458ce

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans