title | description | ms.custom | ms.date | ms.reviewer | ms.suite | ms.tgt_pltfrm | ms.topic | applies_to | helpviewer_keywords | ms.assetid | caps.latest.revision | author | ms.author | search.audienceType | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sample: Web resource utility (Developer Guide for Dynamics 365 Customer Engagement (on-premises)) | MicrosoftDocs |
The sample demonstrates creating and updating Web Resources. The Web Resource Utility code demonstrates several applications of the Dynamics 365 Customer Engagement (on-premises) APIs: Managing connectionsa and Retrieving data about solutions. |
10/31/2017 |
pehecke |
sample |
|
|
27b065e3-1157-4a93-b1e6-b46f25afb595 |
21 |
JimDaly |
jdaly |
|
Manually creating Web resources one at a time using the customization tools can take a long time when you have to create many files. The Web Resource Utility is a WPF application project that you can compile and run to import many Web Resource eligible files from a folder structure with a consistent naming convention based on the folder structure.
Download the complete sample from here Web Resource Utility sample.
[!INCLUDEsdk-prerequisite]
For more information, see the Readme.docx file.
The solution must be built in [!INCLUDEpn_Visual_Studio] before running. Double-click the WebResourceUtility.sln to open the source code in [!INCLUDEpn_Visual_Studio]. Open and view the Solution Explorer.
This solution uses linked files and requires access to the following files in order to compile:
Note
You may need to manually update the links for the files before trying to build the solution or you may experience compilation errors.
In addition to creating and updating Web Resources, the Web Resource Utility code demonstrates several applications of the [!INCLUDEpn_dynamics_crm_online] APIs:
Managing connections
The Web Resource Utility preserves connections to multiple [!INCLUDEpn_dynamics_crm_online] servers so the user doesn’t need to enter connection information each time.
Retrieving data about solutions
The Web Resource Utility retrieves data about available unmanaged solutions and creates Web Resources using the customization prefix defined by the publisher of the solution.
The following screenshot shows the Web Resource Utility user interface:
Sample: Importing Files as Web Resources
Web Resource Messages and Methods
Web Resources for Dynamics 365 Customer Engagement (on-premises)
Streamline web resource development using Fiddler AutoResponder
[!INCLUDEfooter-include]