Script (JScript) web resources
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Like all web resources, script web resources use the Microsoft Dynamics 365 web application security context. Only licensed Microsoft Dynamics 365 users who have the necessary privileges can access them.
References included in code between web resources aren’t tracked as solution dependencies.
All web resources can use relative URLs to reference each other. In the following example, for the webpage web resource new_/content/contentpage.htm to reference the script web resource new_/scripts/myScript.js, add the following HTML code to the head element of new_/content/contentpage.htm.
To reference a script from a different publisher, the path must include the customization prefix for that publisher. For example, for the new_/content/contentpage.htm page to reference the MyIsv_/scripts/customscripts.js page, the src attribute value should be ../../MyIsv_/scripts/customscripts.js.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright