PL-400 – Question 57

0
164

Question 57

You are a Dynamics 365 developer working on a model-driven app.
You add a button to an entity form and to the view for the entity that calls a JavaScript function. When you click the button, it results in an error.
You determine that the JavaScript function is calling another JavaScript function in a different web resource.
You need to resolve the error.
What should you do?

A. In the JavaScript web resource, add the missing web resource as a dependency.
B. Add &ribbondebug=true to the app URL and run the Command Checker tool.
C. From the Ribbon Workbench, add the missing JavaScript web resource as a CustomRule in EnableRules.

Correct Answer: A

“You determine that the JavaScript function is calling another JavaScript function in a different web resource.” From this statement, the correct answer is A