Import option lists using Excel
You can import option lists using Excel. A single Excel file can hold several option lists.
The name of the Excel file must be OptionLists, with no space between Option and Lists.
At a minimum, the Excel spreadsheet must contain the following columns:
You import option lists using the Creation component.
Import an Excel file using the Creation component
To create a page or subpage:
On the menu bar, click Manage .
On the Manage page, click Pages.
In the Pages portal, do one of the following:
- To create a page, click + Page.
- To create a subpage, in the list of pages, click More actions and select + Add subpage.
In the Page dialog box, in the Name field, enter a name for the page or subpage.
From the Page type list, select Blank page.
From the Master layout list, select the layout you want to use.
On the page or subpage, in the Main Zone, click Add component and, in the Add component dialog box, select the Creation component.
Enter a name for the new component and turn the Visible switch to On.
To modify the Creation component:
On the page or subpage, on the Creation component, click More actions and select Edit.
On the Creation component detail page, turn the Upload files switch to On.
Turn the Import Excel switch to On.
Click Save and close.
To view the page or subpage, on the Layout tab, click View Page.
In the page preview, click + Add and select Import Excel.
In the Import Excel dialog box, click Select files.
Select the file you want to import and click Open.
When the file is imported, click Done.
To verify that the option lists was imported successfully:
On the Manage page, click Option lists.
Search for the imported file and select it.
Click the option list to open it and verify that the import was successful.
|Spreadsheet Values||Option list name||Option list values||Identifier and label|
Import multilingual labels
You can include multiple languages in the option list import. In the following example, the Excel file contains two language columns: Label#en-US and Label#ga-IE.
The label used for each column is not the Name, Culture or Label name that is provided during the creation of a portal language. It is the auto-generated Path value that is generated from the Culture field. To see it, from the Manage menu, select Portal languages and next to the language of interest, click Quick edit.
You can also see the path value in the option list dialog box. From the Manage menu, select Option lists and click an option list.
Can we improve this article ? Provide feedback