Salesforce
ARC-300 · Question #60
While validating a LINK Cartridge for inclusion into the solution, an Architect notices that the UNK cartridge documentation requires the Architect to add a script node to a Pipeline in the…
The correct answer is B. Add the script that Is required via a require statement In the Controller, add the appropriate. See the full explanation below for the reasoning.
Question
While validating a LINK Cartridge for inclusion into the solution, an Architect notices that the UNK cartridge documentation requires the Architect to add a script node to a Pipeline in the storefront cartridge. The script is also a valid CommonJS module. Which approach can the Architect use to Integrate this cartridge into a site that uses Controllers only?
Options
- ACopy and paste the script that is required directly into the Controller, add the appropriate
- BAdd the script that Is required via a require statement In the Controller, add the appropriate
- CAdd the script that is required via a Module, exports statement m the Controller add the
- DAdd the script that is required via an import$cript statement in the Controller, add the appropriate
How the community answered
(51 responses)- A4% (2)
- B75% (38)
- C6% (3)
- D16% (8)
Community Discussion
No community discussion yet for this question.