Child pages
  • Deep Link

Versions Compared

Key

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

...

Section
show-titlefalse
titleDescription

Properties in documents can be referenced. In a select clause specifying "Name, Short Description" selects the Name and Short Description property. If a property value is a link, a special syntax allows to fetch a property from the referenced document. The syntax for a deep link is '->'.

Example Box
titleDeep Link
Code Block
Person->Address->Phone

The above assumes that a document has a reference to a person document, which has a property pointing to a address document. From the address document the value of the property 'Phone' is selected.

Deep links may also be specified in templates (for instance using the Display Document Properties Macro) and in where clauses (for instance using the Display Table Macro.

Section
titleSupporting Macros

A number of macros from the PDAC1 support deep links:

Display Table
doctypemacro
render-modedefinition
selectName, Short Description
space-keysPDAC1
where$<Tags>=[Deep Link]

Section
titleAssociated Terms
Display Table
doctypeglossary-item
render-no-hits-as-blanktrue
selectName, Short Description
sort-bySort Key, Name
where$<Relation>=[${Name}]
exclude-selftrue

...