Create a New Web Resource.
To create a new web resource simply create a new file in Visual Studio that corresponds with the type of web resource that you would like. For purposes of this document
Notice that we have placed the file in a sub-folder called 'new_'. This corresponds with the prefix for the publisher of our current solution. By doing so, when we create the file in
CRM, XrmToolkit will suggest the proper web resource name as you will see further down in this document.
If your solution is not yet linked to a CRM Organization then you will be prompted to go through the wizard that will link the two together.
- We can choose to create a new web resource or link to an existing web resource.
If 'New File' is chosen, then we can select which solution to add the file to. If 'Existing File' is chosen, we can select which solution to look for a file to link our local file
to in CRM.
Pressing the 'Next' button gives us the following page:
Name - Name of the file in CRM.
XrmToolkit will try to suggest an appropriate name based on the relative folder structure of the file in your Visual Studio project.
- Display Name - This is the Display Name of the web resource in CRM.
- Customizable - Sets the 'Is Customizable' managed property in CRM for the web resource.
- Description - Description of the web resource in CRM.
Pressing the 'Finish' button will create the web resource in CRM.
To learn more about the different actions available to a file linked to CRM see the documentation here