ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 182 - PL-400 discussion

Report
Export

HOTSPOT

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.


Question 182
Correct answer: Question 182

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-dataprocess/eventhandlers/addonstagechange

asked 05/10/2024
Srecka Kovacevic
39 questions
User
0 comments
Sorted by

Leave a comment first