Dynamics365 PCF
Power Apps component framework
Must be installed
Install PowerApps CLI
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/powerapps-cli
Install Npm/Node.js
https://nodejs.org/en/
Create Npm(Will install the node_modules)
npm install
Create Power Apps component
pac pcf init --namespace PCFComponentNameSpace --name PCFComponentFieldName --template field
Fluent UI Install
npm install office-ui-fabric-react
PCF Solution Create
mkdir PCFSolution
cd PCFSolution
pac Solution init --publisher-name PName --publisher-prefix PName
pac Solution add-reference --path ..\
Build Solution
msbuild /t:build /restore
msbuild /p:configuration=Release
Open VsCode
Code .
PCF Push
pac auth create –url <https://xyz.crm.dynamics.com>
pac pcf push --publisher-prefix <your publisher prefix> -f
pac pcf push --pp <your publisher prefix> -f