CRM 2011: Web Resources

What are  Web Resources?

Web Resources are the Virtual files stored in Microsoft Dynamics CRM Database, and also they can be accessible using a unique URL address

Why do we use Web Resources?

Web Resources are used to extend the CRM web application which can be in the form of html, Jscript, Silverlight applications

Where can we use Web resources?

Web Resources can be used in

  1. Form Customization
  2. Sitemap
  3. Application Ribbons

What are the major Limitations for Web Resources?

  1. No Support for .ASPX pages
  2. Web Resources are Limited to Static Files or files processed by browser only.
  3. Maximum Size of the web resource is determined by Organization.MaxUploadFileSize property

Web Resource Types?

File

File extensions

Type

Web Page (HTML)

.htm, .html

1

Style Sheet (CSS)

.css

2

Script (JScript)

.js

3

Data (XML)

.xml

4

Image (PNG)

.png

5

Image (JPG)

.jpg

6

Image (GIF)

.gif

7

Silverlight (XAP)

.xap

8

StyleSheet (XSL)

.xsl, .xslt

9

Image (ICO)

.ico

10

 

How to refer web Resources?

  1. use $webresource directive (in Sitemap or Ribbon)
  2. outside an entity form or chart you must create an HTML Web resource to be the host page for the Silverlight Web resource. Then use the $webresource: directive to open the HTML Web resource
  3. Use Relative URL where the $Webresource directive is not supported.
Advertisements

One Response to CRM 2011: Web Resources

  1. Pingback: Security Roles and Privileges in CRM 2011 – New Features « Nishant Rana's Weblog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: