Announcements
No record found.
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!
Hi JZ,
It depends on the file structure of your D365 environment.
Please refer to https://debajmecrm.com/2015/10/03/dynamics-crm-webresource-javascript-naming-convention/
https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/304085/naming-conventions-in-dynamics-crm?pifragment-97030=1
Keep it simple and readable for everyone. Experience from multiple projects.
Sample:
Ex 1: JScript/LoanManagement/Opportunity/Opportunity.js
Ex 2: HTML/LoanManagement/Account/ProductGrid.html
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ManoVerse 98 Super User 2026 Season 1
11manish 72
Muhammad Shahzad Sh... 69 Most Valuable Professional