Question
You create a JavaScript web resource named MyBusinessLogic. The code it contains uses functionality from a third-party JavaScript library.
You notice that an independent software vendor (ISV) solution uses the same third-party library in their managed solution.
You plan to deploy your solution to other environments by using a managed solution. The ISV solution might not be installed in the other environments.
You need to package the solution for deployment
What are two ways to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
- A. Create a new JavaScript web resource by using the code from the third-party library. Add the new JavaScript web resource along with MyBusinessLogic to the solution. Correct
- B. Add a copy of the JavaScript library from the ISV to the solution along with MyBusinessLogic.
- C. Add the code from the third-party JavaScript library to MyBusinessLogic. Add MyBusinessLogic to the solution. Correct
- D. Add only the third-party JavaScript web resource to the solution.
Explanation
Option A ensures the third-party library is included in your solution package, making it independent of ISV presence. Option C integrates the third-party code directly into MyBusinessLogic, eliminating dependency on external resources.