Do you like cookies? πͺ We use cookies to ensure you get the best experience on our website. Learn more
Utility Functions
B2C Commerce includes utility functions used frequently in templates. See the B2C Commerce Script API documentation for more information.
- Object: dw.system.Request
Because you are working in a template, and templates use request as a top-level variable, you can immediately call methods of this object. - Object: dw.system.Session
Because you are working in a template, and templates use session as a top-level variable, you can immediately call methods in this class. - Salesforce Commerce Cloud D2C: Quick Start Guide
Learn how to build, customize, and launch a fully functional D2C store using Salesforce Commerce Cloud. From initial setup to branding, product configuration, and checkout optimization, this course will equip you with the skills to go live fast and scale. - Object: dw.util.StringUtils
The Template Processor pre-imports dw.util.StringUtils, so the StringUtils class can be used within a template by its simple name. - Object: dw.web.URLUtils
The Template Processor pre-imports dw.web.URLUtils, so the URLUtils class can be used within a template by its simple name. - Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβthis is your shortcut to passing. Tackle 80+ handpicked questions, plus a final timed test that mirrors the real exam. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?
Infocenter Retirement: On June 30, 2023, the Infocenter was retired, and documentation currently hosted on the Infocenter will be published to Salesforce Help, Commerce Cloud Developer Center, and Salesforce B2C Commerce Developer Documentation Resources. For more information, see the release note.