PL-400 · Question #388
Case Study 8 - City Power & Light Background City Power & Light is an energy and utilities company that has offices in Europe. The company subsidizes home improvements for domestic customers, to…
The correct answer is B. pac pcf init. To begin developing a new Power Apps Component Framework (PCF) component, the pac pcf init command is used to set up the foundational project structure.
Question
Options
- Apac application install
- Bpac pcf init
- Cpac plugin init
- Dpac solution init
How the community answered
(38 responses)- A11% (4)
- B79% (30)
- C3% (1)
- D8% (3)
Why each option
To begin developing a new Power Apps Component Framework (PCF) component, the `pac pcf init` command is used to set up the foundational project structure.
The `pac application install` command is used to install an existing Power Platform application, not to initialize a new development project for a component.
The `pac pcf init` command is essential for developers to initialize a new Power Apps Component Framework (PCF) project, creating the basic folder structure and manifest files required to start building custom components.
The `pac plugin init` command is specifically for initializing a Dataverse plugin project, which is a server-side extension, not a client-side PCF component.
The `pac solution init` command is used to create a new solution project that can package various Power Platform components, but it doesn't initialize a PCF component's project directly.
Concept tested: Power Apps Component Framework (PCF) project initialization
Source: https://learn.microsoft.com/en-us/power-apps/developer/component-framework/cli/pcf-commands#pac-pcf-init
Community Discussion
No community discussion yet for this question.