ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 43 - PL-400 discussion

Report
Export

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?

A.

updateView

Answers
A.

updateView

B.

notifyOutputChanged

Answers
B.

notifyOutputChanged

C.

getOutputs

Answers
C.

getOutputs

D.

init

Answers
D.

init

Suggested answer: 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/

asked 05/10/2024
Jefferson Salvio
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first