Skip to Content
0
Jun 24, 2020 at 04:02 PM

not able to remove mandatory attributes from excel export hybris backoffice

57 Views Last edit Jun 24, 2020 at 04:09 PM 4 rev

I have added new action for Order item type for excel export

<context type="Order" component="listviewactions" module="rexelbackoffice" merge-by="type">
     <y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris" xmlns:advanced-search="http://www.hybris.com/cockpitng/config/advancedsearch" xmlns:c="http://www.hybris.com/cockpitng/config/common" xmlns:df="http://www.hybris.com/cockpitng/component/dynamicForms" xmlns:dsb="http://www.hybris.com/cockpitng/config/dashboard" xmlns:editorArea="http://www.hybris.com/cockpitng/component/editorArea" xmlns:explorer-tree="http://www.hybris.com/cockpitng/config/explorertree" xmlns:grid-view="http://www.hybris.com/cockpitng/component/gridView" xmlns:list-view="http://www.hybris.com/cockpitng/component/listView" xmlns:na="http://www.hybris.com/cockpitng/config/notifications" xmlns:simple-search="http://www.hybris.com/cockpitng/config/simplesearch" xmlns:wz="http://www.hybris.com/cockpitng/config/wizard-config">
     	<y:extended-group qualifier="export" show-group-header="false">
                <y:action action-id="com.hybris.backoffice.widgets.actions.excel.export" property="selectedObjects">
                    <y:parameter>
						<y:name>selectedObjects</y:name>
						<y:value>$_items</y:value>
					</y:parameter>
					<y:parameter>
						<y:name>viewMode</y:name>
						<y:value>textOnly</y:value>
					</y:parameter>
					<y:parameter>
						<y:name>actionName</y:name>
						<y:value>label.export.all</y:value>
					</y:parameter>
                </y:action>
         </y:extended-group>
    </y:actions>
	</context>

Now export except button is visible

But not able to remove mandatory attributes from Included attributes column

REMOVE button is disabled and attrubutes under Included attributes column are also not clickable.



Note: ADD button is working fine


Attachments

arvoy.png (3.1 kB)
exportwiz.png (37.3 kB)