Skip to main content

Generic Import Excel Format

Overview​

The Generic Import Profile is the default standardized Excel structure for the Data Import AccPack. If your data fits this structure, you can use the default import without any custom configuration. This page explains only the file format. For the XML mapping configuration and custom import structures, see XML Configuration.

The sample files at the end of this page contain a complete demo data set and a minimal sample. Use them as a starting point and fill in your own data.

Sheets​

The Generic Import Profile consists of four sheets:

  1. Data: all buckets and their content (key values, media assets). One row per bucket.
  2. KeyValueTranslation: key label translations. Do not rename or change the header columns.
  3. MediaAssetTranslation: media asset label translations. Do not rename or change the header columns.
  4. MappingInformation: reference sheet explaining how to name header columns. Not used for import.

Do not rename the Data, KeyValueTranslation, and MediaAssetTranslation sheets.

note

The sample files also contain the sheets Bucket, Attribute, Price, MediaAsset, and MediaObject. These belong to an older import structure and are not part of the Generic Import Profile.

Data Sheet​

The Data sheet contains one bucket per row. The columns are grouped into three areas: bucket columns, key value columns, and media asset columns.

Data sheet column areas: bucket, key value, and media asset

Bucket​

Bucket columns

Bucket input detail

In the Data sheet, bucket information is defined by columns with the prefix Bucket_*.

Note: if a template or page template does not exist in the system, it will not appear in the UI even if saved to the database.

Key Value​

Key value columns

In the Data sheet, key value columns follow this pattern:

  • The first column is always named KeyValue_entityKeyValueId
  • The following columns are the keys (e.g. headline, intro)
  • Key labels can be translated per context using the KeyValueTranslation sheet

Context priority for key values:

  • If a *_Context column next to a key column is defined, it controls that key's context
  • Otherwise, KeyValue_Context applies
  • Otherwise, Bucket_Context applies

Empty values:

  • If a key value is empty, it is not saved to the database
  • To force-save an empty value, use (empty) as the cell value

Key Value Translation​

Key label translation

In the KeyValueTranslation sheet, define translated labels for each key. The sheet has three columns: Key, Label, and Context.

Media Asset​

The start column for media assets is always MediaAsset_entityMediaAssetId.

There are two ways to define a media asset:

Simple​

Simple media asset input

  • No context, no translated label
  • The image label, URL, or path is detected from the row value (e.g. mainimage, productimage)
  • Column headers must not contain MediaAsset_ (except MediaAsset_entityMediaAssetId)

Example:

  • mainimage value C:\images\baroquenheart\main_green.ai → label main_green, file main_green.ai, path C:\images\baroquenheart\
  • productimage value https://superserver.com/icons.jpeg → URL https://superserver.com/icons.jpeg
note

The simple media asset syntax supports server volume paths. A mainimage column may contain the value file-system/aio/main_green.ai, where file-system/aio is the server volume and main_green.ai is the relative path to the file.

Detailed​

Detail media asset input

  • Supports multiple contexts, delimited by / (e.g. eng_US/fra_FR)
  • Media asset label can be translated via the MediaAssetTranslation sheet
  • Column headers must contain the MediaAsset_ prefix

In the sample files, a detailed media asset uses the columns MediaAsset_entityMediaAssetId, MediaAsset_label, MediaAsset_sequence, MediaAsset_filename, MediaAsset_path, and MediaAsset_type. To define more than one media asset per bucket, repeat this column block. The demo data set uses up to four blocks per row.

note

Media asset context is not yet supported.

Media Asset Path and Server Volumes​

The MediaAsset_path column accepts two kinds of values:

  • A direct filesystem path (e.g. C:/images/baroquenheart/). This path is specific to the operating system of the server.
  • The path of a server volume (e.g. file-system/aio). We recommend this option.

With a server volume path, the Excel file contains no OS-specific paths, so the same file works on Windows and Linux servers.

Server volume path in the MediaAsset_path column

The value must match the path of a server volume defined in the Publishing Server volume configuration (ServerConfig.xml, with custom settings in custom_ServerConfig.xml). See Server Volume Configuration in the installation section. In this example, the volume is an object storage volume, marked with the tag object-storage:

Matching server volume in the volume configuration

During import, the system verifies the referenced server volume. If it matches a configured server volume, the media asset is marked as object storage content (IN_OBJECT_STORAGE = 1 in the database).

If no matching server volume is found, the import continues without interruption. The media asset is not resolved, and no image is displayed.

  • Simple media asset: The system reads the full path from the mainimage column, splits it, and stores the parts in the database (FILE_NAME, FILE_PATH).
  • Detailed media asset: The system reads the MediaAsset_label, MediaAsset_path, and MediaAsset_filename columns to locate the image.

The image files must exist in the referenced volume. For uploading the demo images, see the notes in the examples.

Media Asset Label Translation​

Media asset label translation

In the MediaAssetTranslation sheet, define translated labels for each media asset. The sheet has the same three columns as the KeyValueTranslation sheet: Key, Label, and Context.

Context​

Context columns (Bucket_Context, KeyValue_Context) use the format language_country (e.g. deu_DE). The country part can be left empty to address only the language (e.g. deu_). The Context column of the translation sheets uses the same format.

Mapping Information​

Mapping information sheet

The MappingInformation sheet is a reference guide for naming header columns and supported attributes. It is not used during import and only serves as a reference for the user.

The sheet lists the supported header columns for seven mapping areas:

AreaHeader columnExplanation
BucketBucket_identifierBucket id
BucketBucket_labelBucket label
BucketBucket_parentBucketIdParent bucket id
BucketBucket_entityBucketIdBucket entity
BucketBucket_templateBucket template
BucketBucket_pageTemplateIdBucket page template
BucketBucket_sequenceBucket sequence
Key valueKeyValue_keyKey of key value
Key valueKeyValue_valueValue of key value
Key valueKeyValue_keyLabelLabel of key value
Key valueKeyValue_entityKeyValueIdKey value entity
Key valueKeyValue_templateKey value template
Key valueKeyValue_sequenceKey value sequence
Media assetMediaAsset_labelMedia asset label
Media assetMediaAsset_entityMediaAssetIdMedia asset entity
Media assetMediaAsset_originMedia asset origin
Media assetMediaAsset_sequenceMedia asset sequence
Media assetMediaAsset_templateMedia asset template
Media assetMediaAsset_filenameMedia asset filename
Media assetMediaAsset_pathMedia asset path or URL
Media assetMediaAsset_typeMedia asset type
PricePrice_amount
PricePrice_currency
PricePrice_entityPriceId
PricePrice_groupIdentifier
PricePrice_itemPrice
PricePrice_label
PricePrice_listPrice
PricePrice_minOrderQuantity
PricePrice_oldItemPrice
PricePrice_oldPrice
PricePrice_origin
PricePrice_packagingUnit
PricePrice_price
PricePrice_priceUnit
PricePrice_quantityOfPackingUnit
PricePrice_sequence
PricePrice_template
PricePrice_validFrom
PricePrice_validTo
TextText_textText value
TextText_entityTextIdText entity
TextText_templateText template
TextText_sequenceText sequence
CordCord_labelCord label
CordCord_templateCord template
CordCord_sequenceCord sequence
CordCord_entityCordIdCord entity
CordCord_destinationBucketIdDestination bucket id
Content metadataMeta_entityContentMetaDataIdContent meta data entity
Content metadataMeta_keyContent meta data key
Content metadataMeta_valueContent meta data value

Sample Files​

For an overview of the demo data set and a step-by-step import, see Example.