Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleDisplay Document Property in Action

The Display Document Property Macros allow to select multiple documents. At least two characters are required to be entered to start the Autocomplete.

Note Box

The feature "Pasting URLs" to a macro parameter value did not make it into the first release of Autocomplete.

The placeholder text "... paste URL" is therefore currently misleading. This will probably be available in one of the next releases.

Further constraints can be specified by the Autocomplete Constraints parameter. The sort order is specified by Autocomplete Sort. Again, if not specified, the natural sort order is applied.

...

Section
titleSpace Property Constraints

Currently there is only one space property to put constraints on the result set for names to be presented for Autocompleteprojectdoc.autocomplete.activeConstraintAutocomplete Active Constraint.

This property specifies a constraint that must be met be names in the result set in addition to constraints defined by macro parameters. The property can be used to define that only names from documents that are in Iteration Released, Production, and Deprecated should be presented for selection. Please refer to projectdoc.autocomplete.activeConstraintAutocomplete Active Constraint for an example.

Note Box
titleExplaining the Where Clause

The Where clause shown above shows every doctype besides Event and Todo only as an option in an autocomplete if it is in Iteration Released, Production, or Deprecated. In case of an Event or Todo, the Iteration needs to be in Facade, Filled, Focused, Finished, or Released.

With this constraint only tags that are ready for use are rendered as options. On the other hand, events and todos are only options in case they are not completely done.

Code Block
(
  ($<Iteration>~(Released,Production,Deprecated) NOT $<Doctype>~(event,todo))
  OR 
  ($<Doctype>~(event,todo) AND $<Iteration>~(Facade,Filled,Focused,Finished,Released))
)

The contraint must be a valid Where clause fragment. For more information on queries with the projectdoc Toolbox, please refer to Search Tips.


...