PL-400 · Question #450
PL-400 Question #450: Real Exam Question with Answer & Explanation
Sign in or unlock PL-400 to reveal the answer and full explanation for question #450. The question stem and answer options stay visible for context.
Question
You have a model-driven app form that uses Xrm.WebApi.updateRecord during the OnSave event to update a related record. You observe during testing that the related record does not always update when it should. You need to ensure that the current record is saved and the related record is updated consistently. Which two actions should you perform? Each correct answer presents part of the solution. Choose two. NOTE: Each correct selection is worth one point.
Options
- AAdd logic before the update to ensure that the request is made only when the value has changed.
- BEnable the Async OnSave app setting.
- CWrap the update in a promise.
- DAdd executionContext.getEventArgs[].disableAsyncTimeout[] before the update.
- EAdd executionContext.getEventArgs[].preventDefault[] before the update.
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.