Versions Compared

Key

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

...

Document Properties Marker
doctypemacro
overridefalse


Doctypemacrohide
NameDisplay Document Property Ref Concat Macro 
Short DescriptionDisplays a single property of a document that is referred by a property of another document and concatenates it with the value of a local property. 
Parent
Parent Property
property-nameName
 

Audience
Name List
doctyperole
render-no-hits-as-blanktrue
namesTemplate Author
 
Categories
Name List
doctypecategory
namesDisplay / Property
propertyCategories
 
Tags

Tag List
namesDisplay, Property Value Transclusion

 

, Autocomplete


Type

Name List
doctypemacro-type
render-list-as-comma-separated-valuestrue
namesContent Reuse, Properties Management


Iteration
Iteration
valueproduction
hide
Sort Keyhide



Section
indextrue
show-titlefalse
titleDescription

Displays a single property of a document that is referred by a property of another document and concatenates it with the value of a local property.

If the local property is empty, nothing is rendered.

The use case for this macro is to use the property of a referenced document and concatenate it with the value of the property of this document. This is usually only relevant for Template Authors.

Example Box
titleConcatenate URIs

One example for using this property is to construct URIs by components.

Suppose you document a component named "Server" that has an URI property with value "https://mycorp".

Another component is a a service on this component which is called "myservice". 

The URI property of the service that is deployed to the server should use the URI of "Server" as a base and append its service identificator.

Use the Display Document Property Ref Concat Macro like this:



Section
titleProperties


Section
level2
titleDocument

The document where a property refers to another document.

 


Transclusion
documentDisplay Property Usage Warning
idsContent



Section
level2
titleProperty Name (local)

The property within the local document to display.

If the value of this property is empty, nothing will be rendered.

Example Box

For instance you want to append the phone extension (property "Phone Extension") of this document with the "Phone Stem" property of a referenced company (property "Company") document. In this case the Property Name local is set to "Phone Extension".



Section
level2
titleProperty Name (Document)

The property within the given document that refers to another document. That is the value of the property is another document. If the property is not given, nothing is rendered. 


Example Box

Continuing the example of "Property Name", set Property Name (Document) to "Company".



Section
level2
titleProperty Name (remote)

The localized name of the property of the referenced document to display.

Example Box

Continuing the example of "Property Name", set Property Name (remote) to "Fax Stem".



If specified, the value given as document is used as a document instance name. If not specified, the value given as document is used as a page title.
projectdoc-transclusion-sectionmacro
taget-heading-level2
titleDoctype
*
documentDisplay Document Property Ref Macro
idsDoctype



Section
level2
titleSpace Key (for Doctype)

The name of the space the document is part of. If the document references a page title, not a document name, add the space key in front of the title, separated by a colon.


Section
level2
titleDefault Value

The default value, if the property is not set.


Section
level2
titleDelimiter

The character sequence that is inserted between the first and the second value of the concatenation.


Section
level2
titleAppend Local

Controls if the local value is appended to the remote value ('true') or if the remote value is appended to the local value ('false').


Section
level2
titleAdd Link

Signals to render a link for the complete template to the referenced document (or the content of the content is an URL).


Section
level2
titlePrepend Newline

If checked, signals that a newline is to be rendered before the property.


Section
titleIdentifier


Transclusion
documentDisplay Document Property Macro
idsIdentifier




Section
titleIdentifier Classes


Transclusion
documentDisplay Document Property Macro
idsIdentifier Classes




Section
titleAutocomplete Space Closure


Transclusion
documentDisplay Document Property Macro
idsAutocomplete Space Closure




Section
titleAutocomplete Constraints


Transclusion
documentDisplay Document Property Macro
idsAutocomplete Constraints




Section
hidetrue
titleAutocomplete Sort


Transclusion
documentDisplay Document Property Macro
idsAutocomplete Sort





Section
titleDetails


Section
indextrue
titleRelated macros
Display Table
doctypemacro
render-no-hits-as-blanktrue
render-modedefinition
selectName, Short Description
sort-bySort Key, Name
whereCategories = "Display / Property"
exclude-selftrue

...

Section
titleReferences


Section
titleResources


Tour
render-as-definition-listtrue
replace-title-with-nametrue





Piwik Set Multiple Custom Variables


NameValue
Departmentprojectdoc
Categoryprojectdoc-macro
Typemodular