exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 4 discussion

Actual exam question from Microsoft's PL-400
Question #: 4
Topic #: 5
[All PL-400 Questions]

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.
In which function should you call webAPI.retrieveMultipleRecords?

  • A. updateView
  • B. notifyOutputChanged
  • C. getOutputs
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MikeAWS
8 months, 1 week ago
A is the correct answer: updateView You should call the webAPI.retrieveMultipleRecords function in the updateView function of your custom Power Apps Component Framework (PCF) control. The updateView function is called whenever the control's view needs to be updated, such as when the record is loaded or the user interacts with the control.
upvoted 1 times
...
jkaur
8 months, 3 weeks ago
A is correct!
upvoted 1 times
...
DimpleG
1 year, 3 months ago
Selected Answer: A
The updateView function is called when the component is first loaded and rendered on the screen. This function can be used to retrieve data from the Dynamics 365 instance, such as the list of valid area codes, and set the initial state of the component. By calling webAPI.retrieveMultipleRecords in the updateView function, you can ensure that the list of valid area codes is available for the user to select from as soon as the contact record is opened. NotifyOutputChanged is used to notify the parent component that the value of the output property has changed and getOutputs is used to get the output property values.
upvoted 2 times
...
EssaKhader
1 year, 7 months ago
Selected Answer: A
Correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago