Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Complete B2C-Commerce-Developer Salesforce Materials

Salesforce Certified B2C Commerce Developer (SP23) Questions and Answers

Question 5

There is a business requirement to allow a third-party warehouse management system to update the MySampte.com storefront product inventory in real time. The architect decided that this is most easily accomplished by using the Open Commerce API (OCAPI). The developer needs to test the OCAPI settings m their sandbox. Assume the client ID for testing is "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'. What B the correct GCAPI setting for this?

A)

Options:

Question 6

Below is a form definition snippet from the newsletter.xml file:

Which line of code creates a JSON object to contain the form data?

Options:

A.

Server.form.getForm(‘dwfrm_newsletter’)

B.

Server.form.getForm(‘newsletter’);

C.

Server.forms.getForm(‘newsletter’);

D.

Server.forms.getForm(‘dwfrm_newsletter’)

En el controller:

En el Formulario:

Question 7

Given the code snippet aboce, what should be added after this code so it can be used for page

component display?

Options:

A.

Base.render = render;

B.

Module.exports.render = render;

C.

Module.exports = render;

D.

Module.exports = server.exports();

Question 8

A developer is working on a new site for the U.S based on an existing Canadian site. One of the

requirements is a change to the address form. The current Canadian form has an list with the

correct two-letter abbreviation for the provinces.

The U.S. requirements are to:

Have an list with the correct two-letter abbreviation for the states in place of the

province field.

Set the U.S site locale.

Add the options list field definition to the XML file.

How should the developer set up the files before making the required edits?

Options:

A.

Create a copy of existing address.xml file in the default folder. Rename that file to

adres_US.xml

B.

Create a new sub-folder in the forms folder. Name it US. Copy existing address.xml file in

the new folder.

C.

Create a copy of existing address.xml file in the default folder. Rename that file to

address_en_US.xml

D.

Create a new sub-folder in the forms folder. Name it en_US. Copy existing address.xml file

in the new folder.