+ Start a Discussion
Arpit BajpaiArpit Bajpai 

How to call model methods from view in CCRZ b2b commerce

Hello ,

I want to override the standard view of CloudCraze for registration process, to do this i have created my own view and able to render it correctly. Now at the registration step my custom page view is rendered.

Now next thing is i want to call the methods of my CCRZ.subsc.models.CustomComponentModel from my view on submit button click so that i can save the data of that form using my custom controller.

Any help in this will be appriciated.

unable to call the methods of model, which is neccessory to call methods of controller.
SwethaSwetha (Salesforce Developers) 
You can reach out to "B2B Commerce" page on https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000HWXUSA4 for inputs on your ask.
You can also log a case with salesforce support.
Link: https://help.salesforce.com/articleView?id=workcom_contact_support.htm&type=5
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you