Customize your application’s active data processing by using business objects, and B2C Commerce API pipelets and scripts.
The following business objects, which you can customize, support this feature:
The following pipelets support active merchandising:
Pipelet | Description |
---|---|
ImportActiveData | Imports either ProductActiveData or CustomerActiveData attributes from a .csv file. The feed name contained in the file determines both the type of data and feed for the import process. |
ValidateActiveDataFile | Validates the given active data .csv file and returns a status for the results of the validation. If the validation operation executes without process errors, regardless of the .csv file’s validity, the pipelet returns next. It then continues to the next node in the pipeline. If the given file doesn't exist in the given path the pipelet exits in a pipelet error. |
Search | Retrieves search results. A SortingRuleID input parameter represents the ID of the sorting rule used to sort the products. The existing parameters SortBy1, SortBy1Direction, SortBy2, SortBy2Direction, SortBy3, and SortBy3Direction, can also be used with explicit sorting attribute steps in sorting rules. |
The following classes support active merchandising:
Class | Description |
---|---|
ActiveData | Represents the active data for an object in B2C Commerce. |
CustomerActiveData | Represents the active data for a Customer in B2C Commerce. |
CustomerGroup | See Dynamic Customer Groups. |
ProductActiveData | Represents the active data for a Product in B2C Commerce. |
Active Data
The following classes directly support active data:
dw.campaign.ProductActiveData extends
dw.object.ExtensibleObject
dw.campaign.CustomerActiveData extends
dw.object.ExtensibleObject
The following classes support active data:
dw.catalog.ProductAvailabilityModel
-
getTimeToOutOfStock()
, getAvailability()
, and
getSKUCoverage()
dw.customer.Customer
-
CustomerActiveData getActiveData()
and getLastOrderDate()
methods added.Searchandising
The following classes support searchandising sorting rules:
dw.catalog.SortingRule
method of the
dw.object.PersistentObject
class represents a sorting rule.dw.catalog.SortingOption
method of the
dw.object.PersistentObject
class represents a sorting option for a storefront catalog.The following properties and methods in the
dw.catalog.ProductSearchModel
class support searchandising:
The following methods of the CatalogMgr class support searchandising:
Dynamic Customer Groups
The following scripting APIs support dynamic customer groups:
Returns... | Storefront Sessions | Job Sessions |
---|---|---|
Dynamic customer groups | x | |
Static customer groups | x | x |
System groups: Everyone and Registered | x | x |
System groups: Unregistered | x |
Customer#isMemberOfCustomerGroup
also
checks for memberships in dynamic groups.