Skip to Content
Former Member
Jan 03, 2018 at 06:41 PM

Import Impex file using InitialDataSystemSetup


Hi Expert,

I am trying to use import impex files using below Code and its working fine , now my requirement is i need to import the files in specific order as impex having dependency to another impex.

Also, i do not want to hard code each impex file name here because if any new impex will add in future then i need to mention over here. Please suggest any solution,

@SystemSetup(type = SystemSetup.Type.PROJECT, process = SystemSetup.Process.ALL) public void createProjectData(final SystemSetupContext context)

     importImpexFile(context, importRoot + "/contentCatalogs/" + catalogName + "/cms-core-content.impex", false);