In order for users to view a catalog, they must have that catalog assigned to their profile. The catalog assumes the existence of a catalog property for the user repository item. The catalog property is a derived property. You can set it in either the user’s myCatalog property or the catalog property of the contract for all of the organizations of which the user is a member. If myCatalog is set, the organization’s setting is ignored.

Core Commerce adds CatalogProfilePropertySetter and PriceListProfilePropertySetter components to the profilePropertySetters property of the /atg/dynamo/servlet/dafpipeline/ProfilePropertyServlet component in the DAF servlet pipeline:

profilePropertySetters+=/atg/userprofiling/CatalogProfilePropertySetter,\
                        /atg/userprofiling/PriceListProfilePropertySetter

For the profile’s catalog property, the CatalogProfilePropertySetter calls the determineCatalog method of the /atg/commerce/catalog/CatalogTools component (class atg.commerce.catalog.custom.CustomCatalogTools). This method invokes the /atg/commerce/util/ContextValueRetriever component, which is the primary mechanism for identifying the catalog to assign so that the appropriate items can be displayed. See ContextValueRetriever Class for more information.


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