ExamGecko
Question list
Search
Search

Question 90 - Certified B2B Commerce Developer discussion

Report
Export

Which two aspects are applicable to Page Includes? (2 answers)

A.
Standard Visualforce controls such as apex:form should not be used within a page include
Answers
A.
Standard Visualforce controls such as apex:form should not be used within a page include
B.
Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled
Answers
B.
Page Includes must be assigned to an OOTB Page, i.e. Home, Product Detail, etc., and enabled
C.
Page Includes can be configured as Body Includes Begin.
Answers
C.
Page Includes can be configured as Body Includes Begin.
D.
If a controller is used for an included page, then a merge variable must be present on the page.
Answers
D.
If a controller is used for an included page, then a merge variable must be present on the page.
Suggested answer: A, C

Explanation:

Two aspects that are applicable to Page Includes are:

Standard Visualforce controls such as apex:form should not be used within a page include. This is because the page include is rendered inside an existing Visualforce page that already has a form element. Using another form element inside the page include will cause conflicts and errors. Instead, the page include should use HTML elements or custom components that do not require a form element.

Page Includes can be configured as Body Includes Begin. This means that the page include will be rendered at the beginning of the body section of the page, before any other content or widgets. This can be useful for adding some custom content or functionality that applies to the whole page, such as a banner, a modal, or a script. Salesforce

Reference:B2B Commerce and D2C Commerce Developer Guide,Page Includes

asked 23/09/2024
Duc Hai
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first