Notifications
Clear all
Topic starter
21/09/2022 1:32 am
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?
- A . Use the Ribbon Workbench.
- B . Edit the SiteMap.
- C . Edit the XML for the form.
- D . Edit IS
- E . Config.
- F . Export the ribbon definitions.
Suggested Answer: A
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.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon
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.
Reference: https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/customize-commands-ribbon