How to export templates?
This is a step by step instruction on how to export templates from SOBI2 using CSVI SOBI.
What are templates?
Templates are pre-defined settings that CSVI SOBI uses to import or export data. This allows for consistency and not having to choose the settings every time an import or export is done.
Where to find the templates?
The templates can be found by taking the following route: Components → CSVI SOBI → Templates
Templates
Templates contain the settings to be used during export and the fields to be exported.
Creating a template
To create a template follow this route: Components → CSVI SOBI → Templates. To create a new template to export field data take the following steps:
- Click on New
- Select Export
- Click on Continue
- Select type “Template export”
- Select the export type (CSV or XML)
- Check “Include column headers”
- A filename can be specified here to always export to the same filename otherwise CSVI SOBI will create it's own filename on export.
- Select Both to export published and unpublished fields
- Click on Continue
- Change any values here if there are problems with the export, otherwise leave as it is
- Click Continue
- Fill in a name for the template
- Fill in delimiters to use for the CSV export
- Click on Save
Adding fields
The very first row allows for adding new fields to the template.
Field order
This is the order in which the fields will be exported.
Field name
The name of the field to be exported
Default value
When the exported data is empty, the field field will be filled with the default value.
Setting up the fields
Now the template settings are done, CSVI SOBI needs to know what exact data needs to be exported. Adding fields to the template will accomplish that.
- Select a template
- Click on Fields
- Fill in the field order
- Select the field to export from the dropdown menu
- Fill in a default value if required
- Click on the green check mark
- The field is now added to the template
- Repeat this process until all fields wanted are added
- When done click on Templates to go back to the template list
Exporting the data
From the control panel click on Export to go to the export screen. To export data take the following steps:
- Select the template to use for export
- Click on Export
Extra settings can be made if preferred.
This concludes the tutorial on how to export fields.
