CRM Visual Studio Extensions part 3
Today I want to introduce you to Marat Deykun's extension – Microsoft Dynamics CRM Web Resources Updater (yes, a long name...).
Overview
Developing Web resources in CRM takes quite some time, because you have to upload and publish every change to the CRM web resource (and to the Database through the CRM Service).
(The best way, in my opinion, is to use fiddler's autoresponder. Fiddler listens to the application traffic and returns your local WebResource instead of the server's. I'll explain exactly how to do it in the future…).
This extension gives you a simple and easy way to create/update and publish web resources directly from Visual Studio to the CRM. It will update only web resources that are different.
(There are several of extensions who gives the option to deploy web resources, but for my onion, this one is the most simple and straight forward)
Project
After you install the extension you will get two additional menu items for each project:
- Update Web Resources – update and publish all web resources (that match in CRM you’re your current project. The file name must be same as the web resource name, otherwise, you need to configure the mapping in the UploaderMapping.config (you can add this in Updater Options).
- Updater Options – configure the connection string and solution of the CRM.
File
Additionally, you get two additional menu items for each file:
- Create Web Resource – creates new web resource. You can declare the web resource type, description, and prefix.
- Update Web Resource – updates and publishes the web resource.
You have to set up a connection to the Microsoft Dynamics CRM solution you are working on before you start using add-on (see Configuration Section).
UploaderMapping.config
UploaderMapping.config configures the mapping between your files and CRM web resources. After you create/update your first web resource, a new file will be added to your project (you can also create it from the Updater Options – Create Mapping File). Use the following syntax to define mapping. E.g.:
<Mapping scriptPath="scripts\contact.js" webResourceName="new_contact"/>
Source
You can find this extension in the Visual Studio: 'tools\Extension And Updates', or download it directly from the Visual Studio marketplace: Microsoft Dynamics CRM Web Resources Updater
Thanks,
Ziv Ben-Or
+972545882011
Deloitte Certified Architect | Microsoft Certified Solution Architect | Enterprise Business Transformation Leader
6 年So the tool doesn't retrieve the current webresources from CRM? :(