Free PL-400 Exam Braindumps (page: 25)

Page 25 of 89

HOTSPOT (Drag and Drop is not supported)
A JavaScript function on a Contact form alerts users to what they need to type, as shown in the JavaScript Code exhibit. (Click the JavaScript Code tab.)


The Business Phone field has the OnChange event handler defined as shown in the Event Handler exhibit. (Click the Event Handler tab.)



Users report that there is incorrect wording on the Contact page, as shown in the Contact exhibit. (Click the Contact tab.)


You need to determine what happens when a user modifies the business phone of a contact record.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Yes

setNotification displays an error message for the control to indicate that data isn’t valid. When this method is used, a red "X" icon appears next to the control. On Dynamics 365 mobile clients, tapping on the icon will display the message.

Syntax: formContext.getControl(arg).setNotification(message,uniqueId);
Box 2: No
Box 3: Yes
setFormNotification displays form level notifications. You can display any number of notifications and they will be displayed until they are removed using clearFormNotification.
Syntax: formContext.ui.setFormNotification(message, level, uniqueId);
Box 4: No


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui/setformnotification
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/controls/setnotification



You are developing a Power Apps app to manage records in the Account table in Microsoft Dataverse.
You must configure a Web API request to retrieve changes from the table.
You need to configure the preference header for the API request.
What should you include in the request header?

  1. odata.context
  2. odata.deltaLink
  3. odata.track-changes
  4. odata.nextLink

Answer(s): C



You are creating a Power Apps Component Framework (PCF) component.
You add the following markup to the component manifest. (Line numbers are included for reference only.)



You need to complete the component manifest.
Which XML markup segment should you insert at line 03?

  1. <control DisplayNameKey="PowerContoso" constructor="CtlProducts" version="0.0.10" display-name-key="CtlProducts" description-key="CtlProducts" control-type="standard">
  2. <control namespace="PowerContoso" constructor="CtlProducts" version="0.0.10" display-name-key="CtlProducts" description-key="CtlProducts" control- type="standard">
  3. <control code="PowerContoso" constructor="CtlProducts" version="0.0.10" display-name-key="CtlProducts" description-key="CtlProducts" control- type="standard">
  4. <control name="PowerContoso" constructor="CtlProducts" version="0.0.10" display-name-key="CtlProducts" description-key="CtlProducts" control- type="standard">
  5. <control _value="PowerContoso" constructor="CtlProducts" version="0.0.10" display-name-key="CtlProducts" description-key="CtlProducts" control- type="standard">

Answer(s): B

Explanation:

The control element defines the component's namespace, version and display information.
Example:
<?xml version="1.0" encoding="utf-8" ?>
<manifest>
<control namespace="MyNameSpace" constructor="JSHelloWorldControl" version="1.0.0" display-name-key="JS_HelloWorldControl_Display_Key" description- key="JS_HelloWorldControl_Desc_Key" control-type="standard">
<property name="myFirstProperty" display-name-key="myFirstProperty_Display_Key" description-key="myFirstProperty_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
<resources>
<code path="JS_HelloWorldControl.js" order="1" />
<css path="css/JS_HelloWorldControl.css" order="1" />
</resources>
</control>
</manifest>


Reference:

https://docs.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/manifest



You are creating a model-driven app. You create JavaScript code to display a message when a record is saved.

You need to configure the associated JavaScript web resource name when adding the event handler to the form.

Which field should you use?

  1. Event Type
  2. Component
  3. Function
  4. Library

Answer(s): D



Page 25 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