PL-400 · Question #458
PL-400 Question #458: Real Exam Question with Answer & Explanation
Sign in or unlock PL-400 to reveal the answer and full explanation for question #458. The question stem and answer options stay visible for context.
Question
A model-driven app form has JavaScript that runs during the OnLoad event. The event retrieves an account record and changes visibility to a form column based on one of the record columns. The following portion of code retrieves the account record: Xrm.WebApi.retrieveRecord('account', accountId)_ Users report that the form loads slowly. You need to improve the performance of the code that retrieves the account and changes visibility. What should you do?
Options
- AUse a synchronous XMLHttpRequest instead.
- BAdd the code to change visibility to the success callback.
- CEnable the Async OnLoad app setting.
- DSet the options parameter to return only the column required.
- EStore the returned data in a global variable.
Unlock PL-400 to see the answer
You've previewed enough free PL-400 questions. Unlock PL-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.