Structure of a table template
A table template has to be created under the schema for each table entered in the database model. The input components that the editor can subsequently use to enter data in the corresponding tables are defined in these table templates.
For information on how to input data into so-called Data sources by the editor please see FirstSpirit Documentation about SiteArchitect, Chapter “Data Store” and FirstSpirit Documentation about ContentCreator, “Editing a preview page” / “Input elements” / “Multiple selection list” / “Data records”.
As with the page and section templates, a table template also has multiple tabs on which the different settings and definitions can be configured.
- Properties: All of the settings required for the table template can be made here.
- Mapping: This is where the link is established between the columns of a table and the associated input components that have been defined.
- Form: The input components for entering the data are defined here.
- Rules: Rules can be defined to influence elements or properties.
- Snippet: How the datasets are displayed in overview lists can be defined here.
- Template set: What the content should look like in the presentation channel is defined here.
Important note concerning use in ContentCreator:
To enable the use of a table template in ContentCreator, the “Use in ContentCreator” option on the Properties tab must be set to Yes In addition, a suitable preview page must be set so that the datasets are displayed correctly in ContentCreator.