Skip to content

pa solution reference add

Adds a project reference to the solution in the current directory

Usage

m365 pa solution reference add [options]

Options

-p, --path <path>
The path to the referenced project
-h, --help
output usage information
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text. Default text
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Remarks

This commands expects a CDS solution project in the current directory, and references a PowerApps component framework project.

The CDS solution project and the PowerApps component framework project cannot have the same name.

Examples

Adds a reference inside the CDS Solution project in the current directory to the PowerApps component framework project at ./projects/ExampleProject

m365 pa solution reference add --path ./projects/ExampleProject

More information