QuestionQ183

Extend the platform

A company uses Common Data Service (CDS) and manages its engineers through a model-driven app.

You create a reusable custom component named Component1 by using the Power Apps component framework (PCF).

You need to package Component1 for deployment to the model-driven app.

Which three commands should you run, in sequence?

Drag & Drop
npm run build
pac solution init-publisher-name <publisher> -publisher prefix <prefix>
msbuild /t:build /restore
npm start
pac pcf init –namespace <namespace> --name <control name> --template field
pac solution add-reference –path <control path>
npm install
Explanation

A PCF control is deployed through a Dataverse solution. Initialize the solution project with its publisher details, add the PCF control project as a solution reference, and build the solution with MSBuild to produce the deployable package.

Community Discussion

No comments yet. Be the first to start the discussion!