ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 62 - Certified B2C Commerce Developer discussion

Report
Export

A developer needs to update the package.json file so that it points to the hook file for a cartridge, using the hooks keyword.

Which snippets works correctly when added to the file?

A.
{"hooks": "./scripts/hooks.json"}
Answers
A.
{"hooks": "./scripts/hooks.json"}
B.
{hooks: ./cartridge/scripts/hooks.json}
Answers
B.
{hooks: ./cartridge/scripts/hooks.json}
C.
{hooks: ./scripts/hooks.json}
Answers
C.
{hooks: ./scripts/hooks.json}
D.
{"hooks": "./cartridge/scripts/hooks.json"}
Answers
D.
{"hooks": "./cartridge/scripts/hooks.json"}
Suggested answer: D

Explanation:

Reference: https://documentation.b2c.commercecloud.salesforce.com/DOC1/index.jsp?topic=%2Fcom.demandware.dochelp%2Fcontent%2Fb2c_commerce%2Ftopics%2Fsfra%2Fb2c_sfra_hooks.html

asked 23/09/2024
Alvin Thomas
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first