Display Document Property Ref Concat Macro

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.

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.

Properties

Document

The document where a property refers to another document.

Property Name (local)

The property within the local document to display.

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

Property 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.

Property Name (remote)

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

Doctype

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.

Space 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.

Default Value

The default value, if the property is not set.

Delimiter

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

Append 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').

Prepend Newline

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

Identifier

Unique identifier of the macro for the rendered context.

Features may supply default configurations dependent on the value of this property.

Identifier Classes

Identifiers to address this macro as part a group for the rendered context.

Features may supply default configurations dependent on the value of this property.

Autocomplete Space Closure

Define the scope to search for documents in the Autocomplete context.

Only documents within this scope will be accepted by the Autocomplete for the Documents parameter.

Further constraints on the space can be declared by the use of the Autocomplete Constraints parameter.

Default space is the delegate space of the current space.

This property is only used in the context of the Autocomplete function. It is only enforced on Autocomplete in the browser.

Changes to the parameter value will only take effect on the next Autocomplete selections. But there is also no guarantee that the list of selected documents will not be filtered later. The not enforced constraint is that the selected documents should match the constraints.content

Autocomplete Constraints

Provide a Where clause to select on documents for the autocomplete feature of this macro.

This parameter is only to control the autocomplete feature of this macro. If empty, no constraints are put on the list documents presented.

This property is only used in the context of the Autocomplete function. It is only enforced on Autocomplete in the browser.

Changes to the parameter value will only take effect on the next Autocomplete selections. But there is also no guarantee that the list of selected documents will not be filtered later. The not enforced constraint is that the selected documents should match the constraints.content

Related macros

Display Document Properties Macro
Renders a template with property references.
Display Document Property As Image Macro
Renders the value of a document property as an image. The property value is required to an URL that points to an image.
Display Document Property As Link Macro
Renders the value of a document property as a link with an alternative label.
Display Document Property As List Macro
Renders the list value of a document property.
Display Document Property Macro
Renders the value of a property of a document.
Display Document Property Ref Macro
Displays a document property from a referenced document.
Display Space Attribute Macro
Renders a space attribute value.
Display Space Property Macro
Renders a space property value.
Tour Macro
Renders a predefined list of documents in a table.

Resources

Referencing Property Values
Shows how to render the value of a document property with a display macro. There are actually three variants of this macro that we are discussion in this short article.
Linking to Glossary Terms
Show how to use the Name List Macro to render links to glossary terms.