Microsoft
PL-400 · Question #156
An organization uses Dynamics 365 Sales. You plan to add a custom button to the app ribbon. You need to ensure that the button displays only when conditions specified by business rules are met. Which
Sign in or unlock PL-400 to reveal the answer and full explanation for question #156. The question stem and answer options stay visible for context.
Submitted by saadiq_pk· Apr 18, 2026
Question
An organization uses Dynamics 365 Sales. You plan to add a custom button to the app ribbon. You need to ensure that the button displays only when conditions specified by business rules are met. Which two code segments can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Options
- AgridContext.refresh();
- BformContext.ui.refreshRibbon(refreshAll);
- CformContext.data.refresh(save).then(successCallback, errorCallback);
- DformContext.ui.refreshRibbon();
- EformContext.getControl(arg).refresh();
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.