Import file details: cms_page.csv
Edit on GitHubThis document describes the cms_page.csv
file to configure CMS Page information in your Spryker Demo Shop.
Import file dependencies
This file has the following dependency: cms_template.csv.
Import file parameters
PARAMETER | REQUIRED | TYPE | REQUIREMENTS OR COMMENTS | DESCRIPTION |
---|---|---|---|---|
template_name | ✓ | String | Name of the page template. | |
is_searchable | Boolean | Searchable = True = 1 Not searchable = False = 0 |
Indicates if the page is searchable or not. | |
is_active | Boolean | Active = True = 1 Inactive = False = 0 |
Indicates if the page is active or not. | |
publish | Boolean | Published = True = 1 Inactive = False = 0 |
Indicates if the page is published or not. | |
page_key | ✓ | String | Must be unique. | Identifier of the page. |
url.{ANY_LOCALE_NAME}* Example value: url.en_US |
String | Page URL, translated into the specified locale (US for our example). | ||
name.{ANY_LOCALE_NAME}* Example value: name.en_US |
String | Page name, translated into the specified locale (US for our example). | ||
meta_title.{ANY_LOCALE_NAME}* Example value: meta_title.en_US |
String | Page meta data title, translated into the specified locale (US for our example). | ||
meta_keywords.{ANY_LOCALE_NAME}* Example value: meta_keywords.en_US |
String | Page meta data keywords, translated into the specified locale (US for our example). | ||
meta_description.{ANY_LOCALE_NAME}* Example value: meta_description.en_US |
String | Page meta data description, translated into the specified locale (US for our example). | ||
placeholder.title.{ANY_LOCALE_NAME}* Example value: placeholder.title.en_US |
String | Page placeholder to the title, translated into the specified locale (US for our example). | ||
placeholder.content.{ANY_LOCALE_NAME}* Example value: placeholder.content.en_US |
String | Page placeholder to the 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_page.csv template | Exemplary import file with headers only. |
cms_page.csv | Exemplary import file with Demo Shop data. |
Import file command
data:import:cms-page
Thank you!
For submitting the form