Collections

Collections are sets of models. Define the data object that contains the set of models. Define methods that perform actions when the data in a model changes. They can also perform actions on all models within the collection.

SuiteCommerce Advanced often uses collections when displaying lists of items. The Case module, for example, uses Case.Collection to load a list of support cases assigned to a user and Case.List.View uses the collection to display the list.

Note:

In SuiteCommerce 2020.1 and later, you should use the SuiteCommerce SCCollection component instead of Backbone.Collection. SCCollection is a component of the SuiteCommerce extensibility API. It inherits all methods and properties of Backbone.Collection. See the extensibility API reference for more information.

Related Topics

SCA Models, Collections, and Services
Frontend Models
Services and Backend Models
Services and Backend Models in Custom Modules

General Notices