Creating Active Data Feeds

When active data is enabled for your site, certain data, as defined by Business Manager system objects, it's captured on your Production instance and automatically imported into your Production and Staging instances.

Note: Active data feeds are replicated, but active data is not.

If you want to use this data on your Sandbox instance, you can download the data (.csv format) from the Production instance and import it into your Sandbox instance. You can also obtain the .csv file directly via WebDAV from the impex directory on your Production instance.

If you want to use this data for additional analysis or reporting outside Salesforce B2C Commerce, you can export it.

The captured data is defined in the CustomerActiveData and ProductActiveData system objects. Most the attributes for these system objects are used in the following automatic feeds by B2C Commerce's Merchandising Analytics process:

Some of the attributes of these system objects, however, are not used in any feed. If you want to use these attributes, as shown in the following table, you must create feeds for them.

System object Attribute
CustomerActiveData

Customer.returnItems

returnValue

returns

ProductActiveData

availableDate

costPrice

returnRate

Note: If you don't feed in values for the availableDate attribute, B2C Commerce uses the creationDate attribute instead. B2C Commerce creates this attribute when you add a product.

If you create additional custom active data attributes, you must feed them in as well.

See Creating Custom Attributes for Active Merchandising. For example, you can create different feeds if the attributes you are importing must be imported with a different frequency (daily versus weekly) or if they are being fed from different backend systems.

Note: You can create a maximum of three feeds for each type: product or customer.

Unlike with B2C Commerce import/export files, active merchandising feeds don't have a set schema. Instead, you start by defining the feed format in Business Manager, which can then be imported or exported into any other instance using Site Import/Export.

Next, you create the new feed files. Then finally, you import the feeds for data analysis. You can also automate the active data feed import.