Managed lists
Overview of managed lists that you can use to organize commerce entities.
A managed commerce list represents a core mechanism for organizing and relating commerce entities. Sitecore XC supports simplistic named lists as well as more tightly managed lists. Lists can be curated by selecting individual members of the list or implemented as expressions against the search provider for dynamic listing.
Lists can be iterated using common paging metaphors or treated as a queue with push and pop semantics. Lists can also be used as work queues for commerce minions to traverse and perform work against. Lists can have policies that govern what kind of entities can access the list, how many entities, caching, and so on.
For example, a policy must define whether an entire list is retained in memory once loaded, or whether to iterate as a search list.
The following table describes commerce list actions, commands, and pipelines:
Action/Command/Pipeline | Description |
---|---|
| Creates a relationship between two managed lists. The parameters are:
|
| Creates a new managed list. The parameters are:
|
| Retrieves a new managed list. The parameter is:
|
| Logs the count of a list to the logging system. The parameter is:
|
| Queries the database for entities that have been associated with a certain list (e.g. SellableItems). Input argument: During the execution of the pipeline, the final block executes the NoteIt is generally expected that all IDs that are referenced in lists are valid entities. If an entity cannot be found, it will be omitted from the results. Once the results have been returned to the Commerce Engine, localization is applied if necessary. |