Loading...
 
Skip to main content

History: Simple Wiki Attributes

Source of version: 6 (current)

Copy to clipboard
            !!Adds a very simple attribute handler for wiki pages, usable with extending functionality of pages. (Possibly using TrackerQueryLib or other).

!! Preferences
Make sure Trackers feature is on:
{CODE(caption=>YAML,wrap=>1)}
preferences:
 feature_trackers: y
{CODE}

{CODE(caption=>YAML, wrap=1)}
objects:
 -
  type: tracker
  ref: tracker_38
  data:
   name: Wiki Attributes
   default_status: open
   show: [ modification_date ]
 -
  type: tracker_field
  ref: field_272
  data:
   name: Page
   tracker: $tracker_38
   type: page
   order: 10
   flags: [link, public, mandatory]
 -
  type: tracker_field
  ref: field_273
  data:
   name: Attribute
   tracker: $tracker_38
   type: text_field
   order: 20
   flags: [public]
 -
  type: tracker_field
  ref: field_274
  data:
   name: Value
   tracker: $tracker_38
   type: text_area
   order: 30
   flags: [public]
 -
  type: tracker_field
  ref: field_275
  data:
   name: Type
   tracker: $tracker_38
   type: text_field
   order: 40
   flags: [public]

{CODE}