Web resources for Microsoft Dynamics CRM

Web resources are virtual files that are stored in the Microsoft Dynamics CRM database and that you can retrieve by using a unique URL address.

Capabilities of web resources

Web resources represent files that can be used to extend the Microsoft Dynamics CRM web application such as html files, JavaScript, and Silverlight applications. You can use web resources in form customizations, the SiteMap, or the application ribbon because they can be referenced by using URL syntax.

The URL syntax for web resources allows for relative path references. With your development tools, you can create a group of interdependent files on a development server by using file types compatible with web resources. Then, if you use a consistent naming convention and relative path references, the website will function after you upload all the files into Microsoft Dynamics CRM.

Because web resources are stored in Microsoft Dynamics CRM and are solution components, they can be easily exported and installed to on-premises deployments of Microsoft Dynamics CRM or to Microsoft Dynamics CRM Online. Web resources are also available to users of Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access when offline because they are synchronized with the user’s data.

You can use the form editor to add and configure form-enabled web resources into your entity forms.

Because web resources are stored as records in the database, they can be managed programmatically by using the standard techniques to create, retrieve, and update records. Text-based web resources (JScript, CSS, XML, XSL, and HTML) can be edited and saved in the application.
Limitations of web resources

There is no type of web resource that supports the capabilities of an ASP.NET (.aspx) page to execute code on the server. Web resources are limited to static files or files that are processed in the browser. A web resource can contain code that is processed in the browser to execute web service calls to interact with Microsoft Dynamics CRM data. For more information, see Work with CRM data using web resources,

Web resources are only available by using the Microsoft Dynamics CRM web application security context. Only licensed Microsoft Dynamics CRM users who have the necessary privileges can access them.
Size limitations

The maximum size of files that can be uploaded is determined by the Organization.MaxUploadFileSize property. This property is set in the Email tab of the System Settings in the CRM application. This setting limits the size of files that can be attached to email messages, notes, and web resources. The default setting is 5 MB.

Source: https://msdn.microsoft.com

Leave a Reply

Your email address will not be published. Required fields are marked *