ExamGecko
Question list
Search
Search

Question 78 - Certified B2B Commerce Developer discussion

Report
Export

Which method needs to be implemented when rendering a Salesforce B2B Commerce view in order to have it called after rendering has finished?

A.
There are no methods called on the view after rendering has finished
Answers
A.
There are no methods called on the view after rendering has finished
B.
onRender()
Answers
B.
onRender()
C.
postRender()
Answers
C.
postRender()
D.
afterRender()
Answers
D.
afterRender()
Suggested answer: C

Explanation:

The method that needs to be implemented when rendering a Salesforce B2B Commerce view in order to have it called after rendering has finished is postRender. This method is an optional hook that can be defined by the user to perform any actions or logic that depend on the view being rendered, such as initializing widgets, binding events, or updating the user interface. The method will be called by the render method of the CCRZ.View class, which is the base class for all views in the framework. Salesforce

Reference:B2B Commerce and D2C Commerce Developer Guide,View Class

asked 23/09/2024
Martynas Abrutis
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first