PL-400 · Question #316
You are creating a model-driven app. You create JavaScript code to display a message when a record is saved. You need to configure the associated JavaScript web resource name when adding the event…
The correct answer is D. Library. You would add the associated JavaScript web resource name to the library field. The function field is used to specify the name of the function that will be executed when the event occurs. The library field is used to specify the name of the web resource that contains the…
Question
Options
- AEvent Type
- BComponent
- CFunction
- DLibrary
How the community answered
(21 responses)- A5% (1)
- B5% (1)
- C14% (3)
- D76% (16)
Explanation
You would add the associated JavaScript web resource name to the library field. The function field is used to specify the name of the function that will be executed when the event occurs. The library field is used to specify the name of the web resource that contains the JavaScript code. In your case, you would create a new web resource and add your JavaScript code to it. Then, you would specify the name of the web resource in the library field when adding the event handler to
Community Discussion
No community discussion yet for this question.