When you make change on product cockpit list, editor, advanced search, base, etc you need to reload configuration xml files to system. Below BeanShell code do this.
import de.hybris.platform.core.initialization.SystemSetupContext; import de.hybris.platform.core.initialization.SystemSetup; import de.hybris.platform.core.Registry; SystemSetupContext setupCtx = new SystemSetupContext(new HashMap(), SystemSetup.Type.PROJECT, "mycustomcockpits"); Registry.getApplicationContext().getBean("cockpitImportConfig").importCockpitConfig(setupCtx);
Leave a Reply