Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CSS web resources

Applies To: CRM 2015 on-prem, CRM Online

Use cascading style sheet (CSS) web resources to create style sheets for use in webpage web resources.

With CSS web resources, you can manage the appearance of webpage web resources by linking them to a shared library of CSS styles.

Like all web resources, CSS web resources are only available in the Microsoft Dynamics CRM security context. Only licensed CRM users who have the necessary privileges can access them.

All web resources can use relative URLs to reference each other. In the following example, for the webpage web resource sample_/content/contentpage.htm to reference the style sheet web resource sample_/styles/styles.css, add the following example to the head element of sample_/content/contentpage.htm:

<link rel="stylesheet" type="text/css" href="../styles/styles.css" />

To reference a style sheet from a different publisher, the path must include that solution publisher customization prefix. For example, for the sample_/content/contentpage.htm page to reference the MyIsv_/styles/styles.css page, the href parameter value should be ../../MyIsv_/styles/styles.css.

noteNote
References included in code between web resources aren’t tracked as solution dependencies.

See Also

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.
Show:
© 2015 Microsoft