pa solution init¶
Initializes a directory with a new CDS solution project
Usage¶
m365 pa solution init [options]
Options¶
--publisherName <publisherName>
- Name of the CDS solution publisher.
--publisherPrefix <publisherPrefix>
- Customization prefix value for the CDS solution publisher.
-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 isfull
. --query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv,md
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Remarks¶
PublisherName only allows characters within the ranges [A-Z]
, [a-z]
, [0-9]
, or _
. The first character may only be in the ranges [A-Z]
, [a-z]
, or _
.
PublisherPrefix must be 2 to 8 characters long, can only consist of alpha-numerics, must start with a letter, and cannot start with 'mscrm'.
Examples¶
Initializes a CDS solution project using yourPublisherName as publisher name and ypn as publisher prefix
m365 pa solution init --publisherName yourPublisherName --publisherPrefix ypn
Response¶
The response is a custom message which will show the location where the solution has been created and a message to remind you to have a look at the publisher information and solution name in the Solution.xml
file.
More information¶
- Create and build a custom component: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf