PCF Commands
PCF Commands
Build a Project:
pac pcf init -n [ProjectName] -ns [ControlName] -t field
npm install
Running a project on the emulator:
npm start / npm watch
npm start watch
How to create a solution folder:
mkdir Solution
cd Solution
pac solution init --publisher-name [publisherName] --publisher-prefix [prefix]
pac solution add-reference --path [local url]
msbuild /t:build /restore
Authentication to your environment
pac auth create --url [env url]
pac auth create --environment [env url]
pac auth list
pac auth select --index 1
Publish/Update PCF in the environment
pac pcf push --publisher-prefix [prefix]
Comments
Post a Comment