PL-400 · Question #80
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is B. No. B is correct because adding a JavaScript library to the Events tab only registers it for specific form events, and the Non-Event Dependencies tab is designed to declare which fields a script library accesses outside of those events - but this configuration alone does not…
Question
Options
- AYes
- BNo
How the community answered
(46 responses)- A28% (13)
- B72% (33)
Explanation
B is correct because adding a JavaScript library to the Events tab only registers it for specific form events, and the Non-Event Dependencies tab is designed to declare which fields a script library accesses outside of those events - but this configuration alone does not guarantee the library continues to function when other developers expand the environment. The Non-Event Dependencies section tracks the form's primary entity fields; however, since this consolidated form pulls data from two separate entities (Building code and Work item), dependencies on fields from the secondary entity are not fully protected by this mechanism. To truly safeguard the library against breaking changes, the solution should also ensure the JavaScript web resource and its dependent fields are declared as solution-level component dependencies, which prevents other developers from inadvertently removing or modifying them.
Why A is wrong: Simply registering the library and declaring non-event field dependencies is a partial measure - it helps the form load required field data, but it does not enforce protection against schema changes made by other developers at the environment level.
Memory tip: Think of Non-Event Dependencies as a post-it note telling the form "load these fields too" - it's a hint, not a lock. To truly protect a library across a multi-developer environment, you need solution-level dependency tracking, which acts as the actual lock.
Community Discussion
No community discussion yet for this question.