ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 46 - PL-400 discussion

Report
Export

DRAG DROP

An organization has a Dynamics 365 Sales environment.

You need to create a Power Apps component.

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


Question 46
Correct answer: Question 46

Explanation:

Step 1: Run pac pcf init Цnamespace ..

This is the first command which creates basic folder structure of PCF control project.

Run the following command to create the control. The format of the control is:

pac pcf init Цnamespace <specify your namespace here> Цname <put component name here> Цtemplate <component type>

Step 2: Run the npm install command

Install Dependencies

Once 'init' sets up the basic folder, as a next step install all the PCF control dependencies using 'npm install' command.

Example:

Now at this point, there is nothing we have actually created. However, the solution created contains sample PCF control code.

Step 3: Run the following np run build command

Build PCF Component.

Once you implement the PCF component, build the code for any syntax errors.

Syntax:

npm run build

Reference:

https://rajeevpentyala.com/2020/03/21/power-apps-component-framework-pcf-demystify/

https://carldesouza.com/creating-a-custom-component-using-the-powerapps-component-framework/

asked 05/10/2024
Rocco Cristofaro
45 questions
User
0 comments
Sorted by

Leave a comment first