on 08-08-2014 10:19 AM
As per screenshot, I want to change Collect field in the form of editable check-box and after clicking on which same value should be updated as like yes or no in database and reflected back on UI. Also, I am not able to put any custom java files inside CSCockpit extension.
How to introduce editable check-box in Customer_CustomerBrowseList_CockpitGroup.xml file and after clicking on which want to change certain fields on the same row.alt text
So, Please tell me where can I put custom Java files along with how can I execute above approch
You should create your own folder in your extension, for example "yourExtensionName/resources/yourExtensionName/import/config". Then add the xml files which you are customizing (Customer_CustomerBrowseList_CockpitGroup.xml), and with an impex file or in the Impex-import console you can upload this file with this lines:
INSERT_UPDATE CockpitUIConfigurationMedia;code[unique=true];mime;realfilename;@media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator][forceWrite=true]
;customer_customerbrowselist_cockpitgroup_ui_config;text/xml; Customer_CustomerBrowseList_CockpitGroup.xml; jar:de.hybris.platform.cscockpit.jalo.CscockpitManager&/yourExtensionName/import/config/Customer_CustomerBrowseList_CockpitGroup.xml
I hope it helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Akshay,
All cockpits related code should be written in cockpits extension generated in modulegen and you should add dependency for the extension to cockpits extension using buildcallbacks.xml fie change. Please make sure your xml file is placed in right pathand you need to check the buildcallbacks.xml file as well for checking weather the changes are reflecting cscockpit or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
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.