ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 151 - PL-400 discussion

Report
Export

DRAG DROP

You are developing a new Power Apps Component Framework (PCF) control.

The control must be deployed to a development environment by using the Power Apps CLI and a new solution.

You need to deploy the PCF control.

Which four actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.


Question 151
Correct answer: Question 151

Explanation:

Step 1: Create a solution

Create a new solutions project using the following command. The solution project is used for bundling the code component into a solution zip file that is used for importing into Dataverse. pac solution init --publisher-name developer --publisher-prefix dev

Step 2: Add a solution reference to the project

Once the new solution project is created, refer the Solutions folder to the location where the created sample component is located. You can add the reference using the command shown below. This reference informs the solution project about which code components should be added during the build. You can add references to multiple components in a single solution project. pac solution add-reference --path c:\downloads\mysamplecomponent

Step 3: Build the project and solution

To generate a zip file from the solution project, go into your solution project directory and build the project using the following command. msbuild /t:build /restore Step 4: Deploy the solution

Reference:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls

asked 05/10/2024
Suman Konda
46 questions
User
0 comments
Sorted by

Leave a comment first