Component: /atg/commerce/catalog/custom/AncestorGeneratorService.

The AncestorGeneratorService component generates ancestor categories for the product and category item types, and stores the names of these ancestor categories in the ancestorCategories property of each product and category.

The AncestorGeneratorService updates the following property values for each of the catalog item types. This service must be executed after making catalog updates in order for catalog navigation and search to work correctly.

Item Type

Property Names

Categories

computedCatalogs
ancestorCategories
parentCategoriesForCatalog
siteIds

Products

computedCatalogs
ancestorCategories
parentCategoriesForCatalog
siteIds

SKUs

computedCatalogs
sideIds

If you have extended the Oracle ATG Web Commerce catalog schema, you can still use AncestorGeneratorService to generate ancestor categories, provided that:

Available Functions

AGS_GENCATALOGS: generates the catalogs properties
AGS_GENPARENTCATS: generates the parentCategoriesForCatalog property
AGS_GENANCESTORS: generates the ancestorCategories property
AGS_GENPROPERTIES: generates all properties for all items
AGS_GENPROPERTIES_FOR_CATEGORY: generates all properties for categories
AGS_GENPROPERTIES_FOR_PRODUCT: generates all properties for categories and products


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices