DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:schemaedit

This is an old revision of the document!


Struct Plugin

Struct Plugin: Schema Editing

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 type they have.

To create a new schema, log in as a Manager and access the “Admin” page. Select the “Struct Schema Editor” from the “Additional Plugins” section. Use the form to create a new schema.

There are two kinds of Schemas: Page Schemas and Lookup Schemas.

Page Schemas define data structures that can be assigned to pages via Assignments. Each set of data is for exactly one page it was entered for. This is what you may know from the old data plugin.

Lookup Schemas can not be assigned to pages. They store arbitrary amounts of data sets (rows) independent from any page. This is useful for data that you want to use as a Dropdown source or for data that doesn't justify a page per per entry. You edit them by adding a Lookup Table Editor to a page. You can think of Lookup Schemas as a table in page where you can easily reference values from.

Existing schemas can be selected in the table of contents and can be edited there.

Important: Fields can not be deleted, only be disabled!

plugin/struct/schemaedit.1480416487.txt.gz · Last modified: 2016-11-29 11:48 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki