ExamGecko
Question list
Search
Search

Question 74 - Certified B2B Commerce Developer discussion

Report
Export

Which Global JavaScript Object should be extended when writing custom Remote Actions?

A.
CCRZ.
Answers
A.
CCRZ.
B.
CCRZ.cc
Answers
B.
CCRZ.cc
C.
CCRZ.cc_CallContext
Answers
C.
CCRZ.cc_CallContext
D.
CCRZ.RemoteInvocation
Answers
D.
CCRZ.RemoteInvocation
Suggested answer: B

Explanation:

The Global JavaScript Object that should be extended when writing custom Remote Actions is CCRZ.cc. This object contains all the Remote Actions that are defined in the cloudcraze managed package, which can be overridden or extended by subscriber code. The object also provides a mechanism for registering custom Remote Actions that can be invoked by the user interface components. For example,CCRZ.cc.customAction = function(params, callback){ // do something }will define a custom Remote Action named customAction that can be called byCCRZ.cc.customAction(params, callback). Salesforce

Reference:B2B Commerce and D2C Commerce Developer Guide,Remote Actions

asked 23/09/2024
Aung Aung Myo Myint
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first