ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 50 - PL-400 discussion

Report
Export

HOTSPOT

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.


Question 50
Correct answer: Question 50

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

asked 05/10/2024
Abheesh Vijayan
24 questions
User
0 comments
Sorted by

Leave a comment first