push_plugin_update
Rebuild and push an already-registered Dataverse plug-in to replace its running code in a target environment.
Instructions
Rebuild and push (upload) a plug-in that is ALREADY REGISTERED in Dataverse.
plugin_id: GUID of the PluginPackage (or PluginAssembly), obtained from the first registration via the PRT. environment: index, name, or URL from list_environments(); empty uses the pac active environment. item_type: 'Nuget' (package generated by pac plugin init, plugin_id = PluginPackage) or 'Assembly' (loose dll, plugin_id = PluginAssembly -- requires file_path pointing to the compiled .dll, e.g. bin/Debug/net462/ProjectName.dll). file_path: relative to project_path; required when item_type='Assembly'. WARNING: this replaces the code currently running in the given environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | ||
| item_type | No | Nuget | |
| plugin_id | Yes | ||
| environment | No | ||
| project_path | Yes | ||
| configuration | No | Debug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |