Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 3.48 KB

File metadata and controls

51 lines (39 loc) · 3.48 KB
title last_updated template originalLink originalArticleId redirect_from related
Import file details: cms_block.csv
Jun 16, 2021
data-import-template
2fde5c8a-6217-4151-a511-23b71759feb0
/docs/scos/dev/data-import/201811.0/data-import-categories/content-management/file-details-cms-block.csv.html
/docs/scos/dev/data-import/202311.0/data-import-categories/content-management/file-details-cms-block.csv.html
/docs/pbc/all/content-management-system/202311.0/import-and-export-data/file-details-cms-block.csv.html
/docs/pbc/all/content-management-system/202311.0/base-shop/import-and-export-data/file-details-cms-block.csv.html
/docs/pbc/all/content-management-system/202204.0/base-shop/import-and-export-data/import-file-details-cms-block.csv.html
title link
Execution order of data importers in Demo Shop
docs/dg/dev/data-import/page.version/execution-order-of-data-importers.html

This document describes the cms_block.csv file to configure CMS Block information on your Spryker Demo Shop.

Import file command

data:import:cms-block

Import file parameters

PARAMETER REQUIRED TYPE REQUIREMENTS OR COMMENTS DESCRIPTION
block_key String Block key identifier
block_name String Must be unique. Human-readable name. Name of the block.
template_name String Alphabetical identifier of the slot. It will be shown in the Back Office.
template_path String Must be a valid path to a twig template. Path to the Twig file template.
active Boolean
  • Inactive = 0
  • Active = 1
  • If empty during the import, the block will be imported as inactive.
Indicates if the block is active or inactive.
placeholder.title.{ANY_LOCALE_NAME}*
Example value: placeholder.title.en_US
String Placeholder for block title, translated into the specified locale (US for our example).
placeholder.description.{ANY_LOCALE_NAME}*
Example value: placeholder.description.en_US
String Placeholder for block description, translated into the specified locale (US for our example).
placeholder.link.{ANY_LOCALE_NAME}*
Example value: placeholder.link.en_US
String Placeholder for block link, translated into the specified locale (US for our example).
placeholder.content.{ANY_LOCALE_NAME}*
Example value: placeholder.content.en_US
String Placeholder for block content, translated into the specified locale (US for our example).

*ANY_LOCALE_NAME: Locale date is dynamic in data importers. It means that ANY_LOCALE_NAME postfix can be changed, removed, and any number of columns with different locales can be added to the CSV files.

Import template file and content example

FILE DESCRIPTION
cms_block.csv template Exemplary import file with headers only.
cms_block.csv Exemplary import file with Demo Shop data.