Microsoft
PL-400 · Question #212
You are creating a model-driven app. A JavaScript function must be manually initiated by the user from within an entity form. You need to add a button to the form to run the JavaScript. What should yo
The correct answer is A. Use the Ribbon Workbench.. How to add JavaScript to existing button in Ribbon WorkBench. Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function. https://docs.microsoft.com/en-us/powerapps/developer/model-driven-ap
Submitted by lukas.cz· Apr 18, 2026
Question
You are creating a model-driven app. A JavaScript function must be manually initiated by the user from within an entity form. You need to add a button to the form to run the JavaScript. What should you do?
Options
- AUse the Ribbon Workbench.
- BEdit the SiteMap.
- CEdit the XML for the form.
- DEdit ISV.Config.
- EExport the ribbon definitions.
How the community answered
(27 responses)- A78% (21)
- B7% (2)
- C11% (3)
- E4% (1)
Explanation
How to add JavaScript to existing button in Ribbon WorkBench. Open Ribbon workbench and Right click on Assign button from Account form and click on Customize Button. Add Enable rule and call Javascript function. https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-
Community Discussion
No community discussion yet for this question.