cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to export custom attributes using Excel Export in Backoffice

former_member637004
Discoverer
1,055

Hi all,

I'm trying to enable an excel export option for B2BCustomers from backoffice using the below code, but how can I export additional attributes to the excel along with those getting exported by default.

	<context type="B2BCustomer" merge-by="type" component="cslistviewactions" module="customersupportbackoffice">
             <y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris" xmlns:list-view="http://www.hybris.com/cockpitng/component/listView">
                    <y:group qualifier="common">
                          <y:action action-id="com.hybris.backoffice.widgets.actions.excel.export"
                                 property="pageable.typeCode">
                                 <y:name>actionName</y:name>
                                 <y:parameter>
                                        <y:name>actionName</y:name>
                                        <y:value>label.export.excel</y:value>
                                 </y:parameter>
                                 <y:parameter>
					 <y:name>selectedObjects</y:name>
					 <y:value>selectedItems</y:value>
              			</y:parameter>
			  </y:action>
		  </y:group>
             </y:actions>
     </context>

Accepted Solutions (0)

Answers (0)