The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

SDK Usage Examples (Fall '19 version)

This topic and the topics that follow illustrate several examples for instantiating and using the Digital Commerce SDK.

Possible error conditions:

  • "VlocityDigitalCommerce::getInstance: Config object must be given in argument to create an instance the first time."

  • "VlocityDigitalCommerce::constructor: VlocityDigitalCommerce cannot be instantiated properly. Both datasource and user context objects have to be in Config object as argument."