cancel
Showing results for 
Search instead for 
Did you mean: 

Essential data difference

Former Member
0 Kudos
343

What is the diference betwen essentialdata*.impex and essential-data*.impex ??

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

As a rule of thumb, essential data is most likely to be loaded with the very first deployment of your solution in production. Imagine: your solution is already running for a certain period of time in production, and you want to deploy a new custom or hybris extension into the system. You need to load (configuration or sample) data (ImpEx) which is related to that extension. The hac allows you to run updatesystem to do this. You have the option to load essential data on a global level. That mean essential data from all extensions will be loaded (you never want to do that, because that may override data that has been modified over time with a Cockpit or the Backoffice). Or you can select to load project data for each extension individually.

Therefore, I recommend to create project data, not essential data.

Best, Thomas

Former Member
0 Kudos

Hi Thomas. I do understand the purpose of project/essential data. My question is more about the naming pattern differences. I mean, Help Hybris page shows that both are correct patterns but doesn't specify in which scenario use each.

Best regards.

Former Member
0 Kudos

It's a little confusing because Hybris page shows both patterns as correct but never mentions which patter should use if I'm writing my own extension or in what scenario each pattern is used.

former_member638520
Contributor
0 Kudos

Hi,

According to https://help.hybris.com/6.7.0/hcd/8beedbec8669101491c4a5cd1ffc4465.html you should use essentialdata*.impex (you can check that such pattern is used in de.hybris.platform.impex.systemsetup.ImpExSystemSetup). Nevertheless, https://help.hybris.com/6.7.0/hcd/8ad2f0a7866910149c31803942c91149.html shows that essential-data.impex is also correct pattern, but I guess it's just connected with accelerators. The essential-data.impex can contain: languages, currencies, titles, vendors, warehouses, supoprted credit/debit cards, user groups and distanceUnits

Regards

Lukasz