Skip to Content

Want to replicate data on both the versions i.e. Staged and Online using Data hub, is it possible?

I am working on price replication and have created CustomPriceRow item type in Hybris extending 'PriceRow' OOB Item. I want to replicate data to both Staged and Online version of CustomPriceRow type through Data hub, So want to know if it is possible and if yes then please guide me further.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 02, 2016 at 06:58 PM

    Arman, I think it is possible. I'm not sure, if it's a good idea, because Staged version exists for a reason and Hybris ECP has functionality to promote content of Staged catalog to Online. However, if you want to do it from DataHub, you will need to create another target system in the extension configuration file defining your current target system model (It maybe inside a jar file because that's how extensions are distributed). Extract that xml file. Inside that file you should see something like this:


    Copy the entire content of the targetSystem element and paste it after the closing tag. Give the pasted target system a different name, change the exportCodes to point to correct catalog, let's say Online instead of Staged. Pack this config file into the jar file and start testing. You should be able to publish to either of the target systems or to both of them at the same time.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.