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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Best practice in naming convention of Web Resources

(0) ShareShare
ReportReport
Posted on by 193

Hi all,

I'm not sure if there's any standard or best practice we are following regarding best practice of naming conventions. Just wanted to check what are your common practices? I saw some put underscore (_), some put slash (\). Should the display name be the same as Display Name? For example for icons what should be the naming convention (e.g. {prefix}_/Icons/{entityname}.svg)?

Thanks in advance for your feedback!

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at
  • Suggested answer
    Kumar Viju Profile Picture
    1,026 on at

    Keep it simple and readable for everyone. Experience from multiple projects.

    Sample:

    TypeOfWebResource/ProjectName/EntityName/Object

    Ex 1: JScript/LoanManagement/Opportunity/Opportunity.js

    Ex 2: HTML/LoanManagement/Account/ProductGrid.html

  • yanoh Profile Picture
    155 on at

    The Dynamics don't have some naming conventions.

    You can name it for your convenience, as already commented.

    You should always use the $webresource directive when referencing a web resource from a ribbon control or from a SiteMap sub area.

    docs.microsoft.com/.../web-resources

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 98 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 72

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans