Free PL-400 Exam Braindumps
Microsoft Power Platform Developer Questions 239–286 (page: 19)

Updated On: 10-Feb-2026
View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You need to correct the portal query issues.

Which code should you use? 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:



Scenario: The query for all registered users must return the data categorized by division. Queries must return only the Name and Sport fields. Queries return all fields. The query is as follows:


Box 1: GET ..$select=name, sport
Use select to return only the Name and Sport fields.

Box 2: $apply(groupby(sport ne null) Categorize by division, that is to sports.



A client requires that the system send an email from a button on their customer contact form.
You need to call the action from JavaScript.

Which two functions achieve this result? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. Xrm.WebApi.online.executeMultiple()
  2. Xrm.WebApi.online.updateRecord()
  3. Xrm.WebApi.online.createRecord()
  4. Xrm.WebApi.online.execute()

Answer(s): A,D

Explanation:

Xrm.WebApi.online.executeMultiple executes a collection of action, function, or CRUD operations. Xrm.WebApi.online.execute executes a single action, function, or CRUD operation.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/executemultiple
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-webapi/online/execute



A company has two development instances, two test instances, two staging instances, and one production instance.
The test team reports connection issues with the test and staging instances.
You need to identify which of the instances the testing team currently has access.
Which two URLs can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. https://globaldisco.crm.dynamics.com/api/discovery/v9.1/instances
  2. https://myorg.api.crm.dynamics.com/api/data/v9.1/
  3. https://dev.crm.dynamics.com/api/discovery/v9.1/instances
  4. https://disco.crm.dynamics.com/api/discovery/v9.1/
  5. https://dev.crm.dynamics.com/api/discovery/v9.1/instances(UniqueName=’myorg’)

Answer(s): C,E

Explanation:

Organization information is stored in the Instance entity of the Discovery service. To see the kind of information contained in that entity, send an HTTP GET request to the service for one of your instances.

GET https://dev.{servername}/api/discovery/v9.0/Instances(UniqueName='myorg')

Example: Get the details of a specific instance. If you leave out the GUID, all instances that the authenticated user has access to are returned.
GET https://dev.{servername}/api/discovery/v9.0/Instances(<guid>)


Reference:

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webapi/discover-url-organization-web-api



You are a Dynamics 365 developer working on a model-driven app.

You add a button to an entity form and to the view for the entity that calls a JavaScript function. When you click the button, it results in an error.

You determine that the JavaScript function is calling another JavaScript function in a different web resource. You need to resolve the error.
What should you do?

  1. In the JavaScript web resource, add the missing web resource as a dependency.
  2. Add &ribbondebug=true to the app URL and run the Command Checker tool.
  3. From the Ribbon Workbench, add the missing JavaScript web resource as a CustomRule in
    EnableRules.

Answer(s): A

Explanation:

Web resource dependencies -
You can define dependencies between other web resources. The primary purpose of this feature is to allow association of String (RESX) web resources with the
JavaScript web resources that will use them. This is also the way that web resources required by HTML web resources for use offline can be configured to also be available offline.
Within a solution you can define dependencies within solution components. Up until Mode-driven Apps the main purpose of these dependencies was to prevent the deletion of a solution component when another solution component depended on it. With Model-driven apps the behavior for JavaScript web resources is enhanced so that any other web resource listed as a dependency to the JavaScript web resource will be loaded along with the JavaScript web resource.

Incorrect:
Not B: &ribbondebug=true is used for debugging.
Not C: When configuring ribbon elements, you can define specific rules to control when the ribbon elements are enabled.
Custom Rule uses the <CustomRule> element. Use this kind of rule to call a function in a Script (JScript) web resource that returns a Promise (Unified Interface) or boolean (Unified Interface and web client).


Reference:

https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/web-resource-dependencies
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-enable-rules



A multinational company requires that all phone numbers be standardized as country code + area code + phone number.

The application design team decides that a custom Power Apps component framework (PCF) control should be used to prompt users for an area code and to correctly format the phone number.

You need to get the list of valid area codes when a contact record is opened and before the user enters a new phone number.

You need to get the list of valid area codes when a contact record is opened and before the user enters a new phone number.

In which function should you call webAPI.retrieveMultipleRecords?

  1. updateView
  2. notifyOutputChanged
  3. getOutputs

Answer(s): A

Explanation:

The updateView method will be called when any value in the property bag has changed. This includes field values, data-sets, global values such as container height and width, offline status, component metadata values such as label, visible, etc.

Incorrect Answers:
notifyOutputChanged is a callback method to alert the framework that the control has new outputs ready to be retrieved asynchronously.

getOutputs is called by the framework prior to a component receiving the new data. Returns an object based on nomenclature defined in manifest, expecting objects[s] for the property marked as bound.


Reference:

https://www.inogic.com/blog/2021/01/what-is-popupservice-in-powerapps-component-framework/



Viewing page 19 of 80
Viewing questions 91 - 95 out of 429 questions


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

AI Tutor AI Tutor 👋 I’m here to help!