web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
AS-17030037-0 Profile Picture

AS-17030037-0 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans