Free PL-400 Exam Braindumps (page: 21)

Page 21 of 89

HOTSPOT (Drag and Drop is not supported)
A company has a model-driven app that captures applications from prospective students.
You are asked to create a new re-usable custom component using the Power Apps component framework (PCF).

The custom component must allow entry of a date of birth and validate that the applicant is not a minor. You create the class AuditDatePicker in the TypeScript file Index.ts and the style sheet DatePicker.css.
You need to define the component to be available only for relevant fields and its properties when used in a form.

How should you complete the manifest? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: AuditDatePicker
Constructor: Constructor of the code component. Box 2:DateandTime.DateOnly
Box 3: bound
usage: Has two properties, bound and input. Bound properties are bound only to the value of the field. Input properties are either bound to a field or allow a static value.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/manifest
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/implementing-controls-using-typescript



DRAG DROP (Drag and Drop is not supported)
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.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

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/



Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than once correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are developing a model-driven app for a company.
When you create a new Account record, you must automatically display a form to collect data that is needed to create a Contact record. The form must switch to the appropriate form layout based on the contact type.

You open the Contact form by using JavaScript. You pass the contact type information to the form by using the Xrm.Navigation.openForm function. An OnLoad event handler in the Contact form processes the data and shows only the appropriate sections of the form for the given contact type.
You need to configure the receiving form to accept the data parameter.

Solution: In the form editor, add an event handler for the data parameter.
Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): A



Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than once correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You are developing a model-driven app for a company.
When you create a new Account record, you must automatically display a form to collect data that is needed to create a Contact record. The form must switch to the appropriate form layout based on the contact type.
You open the Contact form by using JavaScript. You pass the contact type information to the form by using the Xrm.Navigation.openForm function. An OnLoad event handler in the Contact form processes the data and shows only the appropriate sections of the form for the given contact type.
You need to configure the receiving form to accept the data parameter.

Solution: In the form editor, add a web resource that sets formContext.data.attributes.
Does the solution meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

By default, model-driven apps allows a specified set of query string parameters to be passed to a form. You use these parameters to set default values when you create a new record in the application. Each parameter must use a standard naming convention that includes a reference to the column logical name.
There are two ways to specify which query string parameters will be accepted by the form:
-Edit form properties
-Edit form XML


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/configure-form-accept-custom-querystring-parameters



Page 21 of 89



Post your Comments and Discuss Microsoft PL-400 exam with other Community members:

Jawad commented on August 30, 2024
Just passed this PL-400 exam.
Anonymous
upvote

Chiranthaka commented on September 20, 2023
very useful.
Anonymous
upvote

Jeya commented on September 13, 2023
its very useful
INDIA
upvote

Chiranthaka commented on September 20, 2023
very useful!
Anonymous
upvote

Chiranthaka commented on September 20, 2023
Very useful!
Anonymous
upvote

Chiranthaka commented on September 20, 2023
Very useful.
Anonymous
upvote

Jeya commented on September 13, 2023
It's Very Useful
INDIA
upvote

HEBA commented on August 06, 2023
MORE QUESTION
EGYPT
upvote

Gurpret commented on May 12, 2022
I just got a 82% on the exam. Passing is 75%.
UNITED STATES
upvote

Armeen commented on April 18, 2022
Did the online exam this morning and passed.
CANADA
upvote

Mona commented on July 06, 2021
I am posting to let everyone know I passed my certification exam ysterday.
INDIA
upvote

Eva commented on May 19, 2021
I found the practice questions very helpful.
NEW ZEALAND
upvote