Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 170 Super User 2025 Season 2
#ManoVerse 70
Jimmy Passeti 50 Most Valuable Professional