on 03-04-2015 9:25 AM
Hi wise guys
Is it at all possible to overwrite the cockpit-configurations in cscockpit by convention?
For instance, the address_orderdetailsdeliveryaddress_cockpitgroup_ui_config - i can see that in OOB the configuration is impexed:
INSERT_UPDATE CockpitUIConfigurationMedia;code[unique=true];mime;realfilename;@media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator][forceWrite=true] ;address_orderdetailsdeliveryaddress_cockpitgroup_ui_config;text/xml; Address_OrderDetailsAddress_CockpitGroup.xml; jar:de.hybris.platform.cscockpit.jalo.CscockpitManager&/cscockpit/import/config/Address_OrderDetailsAddress_CockpitGroup.xml
INSERT_UPDATE CockpitUIComponentConfiguration;code[unique=true];factoryBean;objectTemplateCode[unique=true];principal(uid)[unique=true];media(code); ;orderDetailsDeliveryAddress;listViewConfigurationFactory;Address;cockpitgroup;address_orderdetailsdeliveryaddress_cockpitgroup_ui_config;
However, the contextId doesn't play well with the naming convention, as i get the following error if i name the file "orderDetailsDeliveryAddress_Address.xml":
ERROR [main] [Initialization] de.hybris.platform.cockpit.systemsetup.CockpitImportConfigException: Invalid contextID (orderDetailsDeliveryAddress) within configuration file name: ../resources/dsgcscockpit-config/orderDetailsDeliveryAddress_Address.xml
Which i wouldn't expect to work either, but that is how the naming convention works, as far as i understand 😉
Is there some kind of special naming convention rules for cscockpit, or do i need to use impex as it's done in OOB?
Btw - i'm running 4.7 😕
Kind Regards
Hi Rasmus,
There is a naming convention. Take a look at this tutorial.
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.