You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

projectdoc Toolbox

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.

Audience
Type
Level of Experience

References

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 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.
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.
Parent Property Macro
Renders the property of the parent document, if it has the same doctype.
Display Space Property Macro
Renders a space property value.
Display Space Attribute Macro
Renders a space attribute value.

Resources

Parent Property of projectdoc Documents
projectdoc documents typically provide a property named 'Parent Property'. This property refers to a logical parent. This tip shows what this is all about.
Linking to Glossary Terms
Show how to use the Name List Macro to render links to glossary terms.
Use Display Properties Macro for List Items
If you want to list a reference to a document with name and short description, use the Display Properties Macro. If you specify no property names, it defaults to Name and Short Description.

  • No labels