exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 23 discussion

Actual exam question from Microsoft's PL-400
Question #: 23
Topic #: 5
[All PL-400 Questions]

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.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nivanpee
Highly Voted 2 years, 4 months ago
correct
upvoted 14 times
...
Juan0414
Most Recent 2 months, 3 weeks ago
Correct! https://learn.microsoft.com/en-us/power-apps/developer/component-framework/import-custom-controls
upvoted 2 times
Juan0414
2 months, 3 weeks ago
Something to add is that you should be connected to the environment, if you are not, between Build and deploy, these steps must be followed: https://learn.microsoft.com/en-us/power-apps/developer/component-framework/import-custom-controls#connecting-to-your-environment
upvoted 1 times
...
...
jkaur
9 months, 2 weeks ago
correct
upvoted 1 times
...
BeginLearningforPP
1 year, 8 months ago
Given answer is correct
upvoted 2 times
...
Thess0104
2 years, 4 months ago
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/import-custom-controls
upvoted 2 times
...
Thess0104
2 years, 4 months ago
- Create a solution - Deploy the Solution - Add a solution reference to the project - Build the project and solution
upvoted 2 times
BlueP
1 year, 11 months ago
Deploy the solution as the second step? The answer given is correct
upvoted 2 times
...
nivanpee
2 years, 4 months ago
please this is very wrong
upvoted 23 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...