nerdexam
Microsoft

PL-200 · Question #165

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

The correct answer is A. Create a new JavaScript web resource by using the code from the third-party library. C. Add the code from the third-party JavaScript library to MyBusinessLogic.. The core requirement is that your managed solution must be self-contained - it cannot rely on the ISV's managed solution being present in the target environment. Option A (create a new JavaScript web resource containing the third-party library code) packages the library as its ow

Create apps by using Microsoft Power Apps

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.

Options

  • ACreate a new JavaScript web resource by using the code from the third-party library.
  • BAdd a copy of the JavaScript library from the ISV to the solution along with MyBusinessLogic.
  • CAdd the code from the third-party JavaScript library to MyBusinessLogic.
  • DAdd only the third-party JavaScript web resource to the solution.

How the community answered

(42 responses)
  • A
    76% (32)
  • B
    17% (7)
  • D
    7% (3)

Explanation

The core requirement is that your managed solution must be self-contained - it cannot rely on the ISV's managed solution being present in the target environment. Option A (create a new JavaScript web resource containing the third-party library code) packages the library as its own separate resource within your solution, ensuring it deploys independently. Option C (add the third-party library code directly into MyBusinessLogic) embeds the dependency into the single file, also making the solution self-contained. Option B is incorrect because adding the ISV's copy of the library creates a dependency on a file owned by another solution, which may not exist. Option D (adding only the third-party web resource without the library's code) is incomplete and still creates a dependency risk.

Topics

#JavaScript Web Resources#Solution Packaging#Dependency Management#Managed Solutions

Community Discussion

No community discussion yet for this question.

Full PL-200 Practice