cancel
Showing results for 
Search instead for 
Did you mean: 

How to introduce editable checkbox on Browse section - CSCockpit

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

raghavendra_desu
Contributor
0 Kudos

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.