on 01-12-2018 3:29 PM
I want to add a new field into the product.xml in the file SiteMapMediaJob ( cronjob ) in acceleratorservices and I want to write code for this field but I can not change it because the acceleratorservices file is in the hybris/ ext-accelerator. What should I do?
Hi Deniz, You can override the SiteMapMediaJob in your core extension. Create a new cronjob with same alias and there you can override the perform method of SiteMapMediaJob .
Reference :
For details of how to override the cronjob, please refer to Aliases and Overriding Beans section of Spring Framework in SAP Hybris Commerce.
https://help.hybris.com/6.4.0/hcd/8c63621986691014a7e0a18695d7d410.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.