plugin:struct:schemaedit
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:struct:schemaedit [2016-03-31 16:49] – andi | plugin:struct:schemaedit [2024-04-16 15:37] (current) – [Schema Usage for Data Management] asheenlevrai | ||
---|---|---|---|
Line 3: | Line 3: | ||
Schemas are used to manage the structured data that can be assigned to pages. You can think of them as a table definition. A schema defines which fields will be available and what [[plugin: | Schemas are used to manage the structured data that can be assigned to pages. You can think of them as a table definition. A schema defines which fields will be available and what [[plugin: | ||
+ | |||
+ | Schemas are agnostic of how the data is going to be used. In previous versions of the plugin you had to decide up-front if your schema would be assigned to pages (//page schema//) or contain free-floating data to be used anywhere (//lookup schema//). This is no longer the case. | ||
To create a new schema, log in as a [[config: | To create a new schema, log in as a [[config: | ||
+ | |||
+ | Schema names must start with a lowercase letter, then can contain lowercase letters, numerals, and the underscore character((https:// | ||
Existing schemas can be selected in the table of contents and can be edited there. | Existing schemas can be selected in the table of contents and can be edited there. | ||
- | Important: | + | **Important:** Fields |
+ | |||
+ | ===== Schema Usage for Data Management ===== | ||
+ | |||
+ | Schemas can be deployed to manage data in the three following ways: | ||
+ | |||
+ | * **Page data** can be thought of as additional metadata for a page. This is what you may know from the old [[plugin: | ||
+ | * **Global data** (previously called lookup schemas) is not assigned to pages. It is a collection of datasets (rows) held globally. This is useful for data that you want to use as a [[plugin: | ||
+ | * **Serial data** doesn' | ||
+ | |||
+ | |||
+ | **Notes:** | ||
+ | In older versions of the plugin, the future use of the schema had to be defined when creating it. This is no longer the case. A schema can be used for all three of the above use cases simultaneously, | ||
+ | For more details on the structure of struct data, see [[plugin: |
plugin/struct/schemaedit.1459435759.txt.gz · Last modified: 2016-03-31 16:49 by andi