Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2C Commerce Architect Topic 2 Question 23 Discussion

Actual exam question for Salesforce's B2C Commerce Architect exam
Question #: 23
Topic #: 2
[All B2C Commerce Architect Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Laila
9 days ago
Ooh, option C with the Module.exports statement sounds interesting. I'll have to dig into that one a bit more.
upvoted 0 times
...
Carmela
11 days ago
Ah, the old 'copy and paste' approach in option A is tempting, but that's a big no-no. We gotta do this the right way, folks.
upvoted 0 times
...
Xuan
12 days ago
Hmm, looks like we need to integrate a CommonJS module into a Controller-only site. This is tricky, but I think option B might be the way to go.
upvoted 0 times
...
Hyman
15 days ago
I'm not sure, but I think adding the script via a Module, exports statement could also work.
upvoted 0 times
...
Franchesca
17 days ago
I agree with Kerrie. Using a require statement keeps the code clean and organized.
upvoted 0 times
...
Kerrie
18 days ago
I think the best approach is to add the script via a require statement in the Controller.
upvoted 0 times
...
Loreen
20 days ago
I'm not sure, but I think adding the script via a Module, exports statement in the Controller could also work. It's worth considering.
upvoted 0 times
...
Billye
21 days ago
I agree with Rene. It makes sense to use a require statement to integrate the cartridge into a site that uses Controllers only.
upvoted 0 times
...
Rene
24 days ago
I think the best approach would be to add the script via a require statement in the Controller.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77