Export Excel Template Action

The Export Excel Template action is used to download an Excel Product Import Template.

Action Definition

Name Export Excel Template Action
ID com.hybris.backoffice.widgets.actions.excel.exporttemplate
Description

Allows exporting an Excel template file with all necessary metadata, for the user to fill it with items and reimport back to the system.

Author SAP
Action Class Name com.hybris.backoffice.widgets.actions.excel.ExcelTemplateExportAction
Custom Renderer Class Name

DefaultActionRenderer

For more information, see Action Parameters.

Inputs Not applicable
Outputs Details of output sockets:
  • itemsToExport
    • Type: Pageable
    • Multiplicity: Single
    • Description: Whenever the action is performed, and the typeCode of the selected items is assigned from ProductModel, the socket sends a pageable that contains the items to export.

Action Preview

An icon defined for Export Excel Template:

By default, you can choose the action from the dropdown list:

Configuration

The action applies only to the Collection Browser widget, an example of configuration is:

<context type="Product" component="listviewactions">
	<y:actions xmlns:y="http://www.hybris.com/cockpit/config/hybris" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
		<y:group qualifier="common">
			<y:action action-id="com.hybris.backoffice.widgets.actions.excel.exporttemplate" property="pageable.typeCode"/>
		</y:group>
	</y:actions>
</context>

Dependency

Not applicable.