ExamGecko
Question list
Search
Search

Question 26 - Certified B2B Commerce Developer discussion

Report
Export

A Developer created a custom field that a project wants to expose on a given page.

How does the Developer ensure that the field is available to display on a given page?

A.
Override the Service Class that the page uses and update the ServiceManagementin CCAdmin for the given storefront to use this new Service Class.
Answers
A.
Override the Service Class that the page uses and update the ServiceManagementin CCAdmin for the given storefront to use this new Service Class.
B.
Override the Logic Class that the page uses and update the Service Management inCCAdmin for the given storefront to use this new Service Class
Answers
B.
Override the Logic Class that the page uses and update the Service Management inCCAdmin for the given storefront to use this new Service Class
C.
Create a new Service Classthat the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class
Answers
C.
Create a new Service Classthat the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class
D.
Create a new Logic Class that the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class
Answers
D.
Create a new Logic Class that the page uses and update the Service Managementin CCAdmin for the given storefront to use this new Service Class
Suggested answer: A

Explanation:

To ensure that a custom field is available to display on a given page, the Developer needs to override the Service Class that the page uses and update the Service Management in CCAdmin for the given storefront to use this new Service Class. The Service Class is responsible for retrieving and setting data for a given page. The Logic Class is responsible for implementing business logic and validation rules for a given page. Creating a new Service Class or Logic Class is not necessary, as overriding an existing one can achieve the same result. Salesforce

Reference:B2B Commerce and D2C Commerce Developer Guide,Service Classes,Logic Classes

asked 23/09/2024
Renats Fasulins
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first