Free PL-400 Exam Braindumps (page: 22)

Page 22 of 89

You are creating a model-driven app.
A JavaScript function must be manually initiated by the user from within an entity form.
You need to add a button to the form to run the JavaScript.
What should you do?

  1. Use the Ribbon Workbench.
  2. Edit the SiteMap.
  3. Edit the XML for the form.
  4. Edit ISV.Config.
  5. Export the ribbon definitions.

Answer(s): A

Explanation:

How to add JavaScript to existing button in Ribbon WorkBench.
Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function.
Note: An Entity Form is a way to show a form in your Dynamics 365 Portal to allow your users to enter data.
You can use the Ribbon workbench for Dynamics 365 to add a custom button on entity form in Account with JavaScript action.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon
https://docs.microsoft.com/en-us/dynamics365/customer-service/configure-link-to-conversation-model-driven-app-form



HOTSPOT (Drag and Drop is not supported)
You need to complete a Power Apps component framework (PCF) control.
How should you define the order in 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: 1
The css order element is the order in which the CSS files should load.

Box 2: 1
The html order element is the order in which the HTML files should load.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/css
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/html



HOTSPOT (Drag and Drop is not supported)
You are developing a business process flow.
JavaScript must be used to implement additional business logic in the business process flow.
You need to evaluate the JavaScript code.

What is the result of running each code segment? 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: Hides the control in the body of the form.
The Client API form context (formContext) provides a reference to the form or to an item on the form, such as, a quick view control or a row in an editable grid, against which the current code is executed. setVisible sets a value that indicates whether the control is visible.

Box 2: Add an event handler to enable a function named TestFunction to run when the business process flow stage changes. addOnStageChange adds a function as an event handler for the OnStageChange event so that it will be called when the business process flow stage changes.


Reference:

https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/clientapi-form-context
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data-process/eventhandlers/addonstagechange



You are creating a canvas app for a bank. Consumers will enter information into the app when they apply for a loan.
The input form for the app must display fields to prompt the consumer for their first name, last name, address, and the requested loan amount.
Immediately after a consumer enters a value for the LoanAmount field, the background color for the column must change. The background color for the column must change to red if a consumer enters a value of more than $5,000 and must turn green for values less than or equal to $5,000.
You need to implement the required behavior.

Which option should you use?

  1. Create a Power Automate flow.
  2. Configure field properties.
  3. Add a business rule to the form.
  4. Add a formula to the LoanAmount field.

Answer(s): D

Explanation:

Conditional formatting in Power Apps can be done with formulas.


Reference:

https://powerapps.microsoft.com/en-us/blog/conditional-formatting-in-powerapps/



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