pac plugin

Commands for working with Dataverse plug-in class library

Learn how to create and register a plug-in package using PAC CLI

Commands

Command Description
pac plugin init Initializes a directory with a new Dataverse plug-in class library.
pac plugin push Import plug-in into Dataverse.

pac plugin init

Initializes a directory with a new Dataverse plug-in class library.

Optional Parameters for plugin init

--author -a

One or more authors of the Dataverse Plug-in Package.

--outputDirectory -o

Output directory

--signing-key-file-path -sk

Relative path to the Dataverse plug-in assembly originator key file for signing.

--skip-signing -ss

Skip plug-in assembly signing that gives the plug-in assembly a strong name. The default value is 'false'.

This parameter requires no value. It's a switch.

pac plugin push

Import plug-in into Dataverse.

Required Parameters for plugin push

--pluginId -id

ID of plug-in assembly or plug-in package

Optional Parameters for plugin push

--configuration -c

Build configuration. The default value is: 'Debug'.

--environment -env

Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.

--pluginFile -pf

File name of plug-in assembly or plug-in package

--type -t

Type of item if not specified explicitly through --pluginFile. The default value is: 'Nuget'.

Use one of these values:

  • Nuget
  • Assembly

See also

Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview