DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:type

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:struct:type [2023-11-01 12:12] – [Struct Plugin: Field Types] 212.201.117.6plugin:struct:type [2023-11-01 16:11] (current) – [Struct Plugin: Field Types] andi
Line 3: Line 3:
  
 When defining fields in schemas, their types have to be specified. Each field in the schema has to have a type. It configures what data is accepted in the field and how it will be displayed later on. When defining fields in schemas, their types have to be specified. Each field in the schema has to have a type. It configures what data is accepted in the field and how it will be displayed later on.
-Field names should not contain any dots, as in ''No. of items''. Use alias to name a field ''No. of items''+ 
 +Note: in general you're free to give your fields arbitrary names. However for ease of useit is recommended to use simple identifiers as name and use the field label for nicer names. Especially the use of spaces or dots can make the use of the field in aggregation and filter syntax more complicated than needed. Eg. instead of using ''No. of projects'' as the field name, just use ''projects'' as the name and fill the label with ''No. of projects''.
  
 ===== Available Types ===== ===== Available Types =====
plugin/struct/type.1698837126.txt.gz · Last modified: 2023-11-01 12:12 by 212.201.117.6

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