Skip to content

Mapping WebResource

PhuocLe edited this page Jun 20, 2026 · 2 revisions

Mapping WebResource

Use this page when DynamicsCrm.DevKit asks you to map a local web resource file to an existing Dataverse web resource.

The mapping dialog appears when the selected local file is ready to deploy, but DevKit cannot infer an existing web resource from the current solution configuration.

What The Mapping Does

The selected Dataverse web resource is saved into DynamicsCrm.DevKit.Config.json for the current local file. After that, DevKit can deploy the same local file to the same Dataverse web resource without asking again.

Fields

Field Description
Existing WebResource Existing Dataverse web resource that should receive the selected local file content.
OK Saves the mapping and continues the deploy action.
Cancel Closes the dialog without changing the mapping.

Recommended Naming

Keep the Dataverse web resource name aligned with the local file path under the web resource project:

Local file Dataverse web resource
entities/Account.js prefix_/entities/Account.js
forms/contact.ts prefix_/forms/contact.js
html/Dialog.html prefix_/html/Dialog.html

The prefix comes from the Dataverse solution publisher, for example devkit_.

Related

Clone this wiki locally