Skip to main 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, --projectPath <projectPath>

The path to the referenced project

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md. Default json.

--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 --projectPath ./projects/ExampleProject

Response

The command won't return a response on success.

More information

CTRL + M