-
Notifications
You must be signed in to change notification settings - Fork 16
vsix command deploy webresource
PhuocLe edited this page Jun 20, 2026
·
2 revisions
Deploy WebResource deploys the selected local file to an existing Dataverse web resource, then publishes that web resource.
| Field | Value |
|---|---|
| Command class | CommandWebResource |
| Command id | CommandDeployWebResource |
| Default menu text | Deploy WebResource |
| TypeScript debug menu text | Deploy WebResource (Debug) |
The command is visible when the selected item has a supported web resource extension. For .ts files, generated files such as .form.ts and .webapi.ts are excluded; only deployable TypeScript files are shown.
The command is available from code editor context menus and from the DynamicsCrm.DevKit submenu in Solution Explorer.
- Saves the current document.
- Opens or reuses a Dataverse connection.
- If the selected file is TypeScript, builds it in Debug mode and deploys the generated JavaScript file.
- Looks up the local file mapping in the DevKit cache/config.
- If no mapping exists, opens the Mapping WebResource dialog.
- Saves the mapping to
DynamicsCrm.DevKit.Config.json. - Uploads the file content to the selected Dataverse web resource.
- Publishes the web resource.
Use this command when the Dataverse web resource already exists. To create a new Dataverse web resource from the selected file, use Deploy New WebResource.