DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:schemaedit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:struct:schemaedit [2020-05-14 13:20]
andi [Schema usage]
plugin:struct:schemaedit [2020-05-17 21:43] (current)
Digitalin [Schema usage] link updated
Line 17: Line 17:
  
   * **Page data** is directly associated with exactly the one page it was entered for. To be able to enter page data, the schema has to be assigned to the page via [[plugin:struct:assignments|Assignments]]. You can think of page data as additional metadata for a page. This is what you may know from the old [[plugin:data|data plugin]]. Page data is revisioned with the page it is associated to.   * **Page data** is directly associated with exactly the one page it was entered for. To be able to enter page data, the schema has to be assigned to the page via [[plugin:struct:assignments|Assignments]]. You can think of page data as additional metadata for a page. This is what you may know from the old [[plugin:data|data plugin]]. Page data is revisioned with the page it is associated to.
-  * **Global data** (previously called lookup schemas) is not assigned to pages. It is a collection of data sets (rows) held globally. This is useful for data that you want to use as a [[plugin:struct:type_lookup|Lookup source]] or for data that doesn't justify a page per entry. You edit them by adding a [[plugin:struct:lookupedit|Global Data Editor]] to a page. You can reference their values in any aggregation. Global data has no revisions or history.+  * **Global data** (previously called lookup schemas) is not assigned to pages. It is a collection of data sets (rows) held globally. This is useful for data that you want to use as a [[plugin:struct:type_lookup|Lookup source]] or for data that doesn't justify a page per entry. You edit them by adding a [[plugin:struct:globaledit|Global Data Editor]] to a page. You can reference their values in any aggregation. Global data has no revisions or history.
   * **Serial data** is bound to a Wiki page. In this respect they are somewhat similar to page data. However, serial data does not belong to a specific page revision and you can have many serial datasets per page. Serial data has no revisions or history.   * **Serial data** is bound to a Wiki page. In this respect they are somewhat similar to page data. However, serial data does not belong to a specific page revision and you can have many serial datasets per page. Serial data has no revisions or history.
  
  
 Note: 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, though this will probably rarely be the case in the real world. Note: 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, though this will probably rarely be the case in the real world.
plugin/struct/schemaedit.txt ยท Last modified: 2020-05-17 21:43 by Digitalin