In which function should you call webAPI.retrieveMultipleRecords?

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 PowerApps component framework (PCF) control should be used to prompt users for an area code and 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.

In which function should you call webAPI.retrieveMultipleRecords?
A . notifyOutputChanged
B. init
C. getOutputs
D. updateView

Answer: D

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.

Set the value of the field component to the raw value from the configured field.

Note: webAPI.retrieveMultipleRecords retrieves a collection of entity records.

Reference: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/reference/control/updateview

Latest PL-400 Dumps Valid Version with 171 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments