3 Replies Latest reply on Oct 3, 2012 11:39 AM by Nitin Khare

    Information Required About CMS Component.

      Hi All,

      If i have modified existing catalog and added 2 different Categories and added prouducts and sku's under that category.
      Instead of running the CMS to whole Catalog, Is ther any way i can only run CMS for newly added Category to map those with the catalog.?

        • 1. Re: Information Required About CMS Component.
          Gautam Singh
          No, CMS is a standalone service and is responsible for maintaining the relationship properties between different catalog elements (sku, product, category).
          OOTB it runs after each deployment, The beast you can do is is to avoid CMS from running when unnecessary, you can turn off CMS after publishing and write a deployment listener to trigger CMS when needed (eg. if a sku/product/category is created or removed).
          1 person found this helpful
          • 2. Re: Information Required About CMS Component.
            Hi Gautam,

            Can you please provide any code snippet or any reference for deployment listener.?

            • 3. Re: Information Required About CMS Component.
              Nitin Khare
              There is a sample code provided in form of a DeploymentEmailer component which shows how to implement a DeploymentEventListener. Using that component you can send email as per the component configuration whenever a CA deployment enters in the states like complete, interrupt or error which you can change as per your requirements. You can find it at <ATG_DIR>/Publishing/samples/Java

              For more details about it you may refer to: