Although the data element library makes it very easy for you to create and update data elements inside the SundaySky platform, there may be times when you will prefer using a spreadsheet to create all your data elements and values, using a batch operation. And there may be times when you'll want to import a file only when you want to make changes to existing data elements or values.
However you decide to work, remember that the data element library and the files you import work in perfect harmony. Depending on the number of data elements and values that you need for personalizing your videos, you can decide how and when to use the tools that SundaySky provides you with.
It is important to remember that the file you prepare and upload to the data element library only defines the library schema (structure). When you are ready to publish your video, you will upload a different file that is used to generate the video links. Every time you upload a schema file, it overwrites the current library and determines what data elements and values are available for your use.
To import a file into the data element library:
1. |
Access the relevant video. |
2. |
Select Data in the sidebar. |
|
|
3. |
Click Import From File. |
4. |
Click Download Library CSV. |
The current data element library is opened in Excel, displaying all the data elements and values that have been created in the library. You can now begin making changes in the spreadsheet. |
5. |
Update the data element library as required. |
As you update the spreadsheet, make sure to follow the guidelines below to ensure that the data library is structured properly:
a. |
Every column must have a column header. The column header is the name of the data element. |
b. |
The column header must be unique and differ from the other column headers. |
c. |
The id column is mandatory. |
d. |
The column header id must be in lowercase. |
e. |
The spreadsheet must contain columns for all the data elements (and values) that are in use. |
f. |
There is a maximum limit of 2,000 values per data element. |
g. |
Before removing a data element or value, make sure that it is not being used in any of the scenes. |
h. |
A data element column that is not included in the file will be deleted from the data library. |
i. |
Save the file in CSV UTF-8 (Comma delimited) format. |
6. |
When your updated data library is ready for uploading, click Upload CSV. |
7. |
Upload your CSV file using either of the following options: |
After the file has uploaded successfully, a confirmation message is displayed, indicating the changes made to the data library: |
|
The updated data element library is displayed. |