To reference the properties of other documents and folders, you can use the
following syntax:
{%doc[.XXXX].YYYYYY%}
{%folder[.XXXX].YYYYYY%}
where XXXX is an optional document/folder ID. If ommited, then this
will reference the current document or folder. YYYYY is a
property of the document or folder.
Folders have the following properties:
ID : Returns the unique IWS identifier ( Folder.1234.ID would
return 1234)
NAME : Returns the Name
TITLE : Returns the Title
PARENTFOLDER (alias: PARENT): Returns a reference to the parent
folder. (Folder.1234.Parent.Name would return the Name of the parent
folder)
Documents have the following properties:
ID : Returns the unique IWS identifier ( Doc.1234.ID would
return 1234)
NAME : Returns the Name
PARENTFOLDER (alias: PARENT or FOLDER) : Returns
the parent folder.
INDEX : Returns the index (order) of the document in its
folder.
TEMPLATE : Returns a document reference to the document's
Template.
URL : Returns the document's URL (including anchor tag) See
also: Linking to documents.
TITLE : Returns the Title
SIZE : Returns the size of the document
MODIFIED_DATE : Returns the date when the document was last
changed
CREATED_DATE : Returns the date when the document was created
SUMMARY : Returns the Summary
DESCRIPTION : Returns the Description
CONTENT : Returns the document's content. If it's an HTML document,
then it will return everything inside the body tag.
Examples:
{%doc.1234.folder.name%} : this will retun the name of the
folder where document 1234 is located.
{%doc.1234.folder.parent.name%} : this will return the name of
the parent folder of the folder where document 1234 is
located.