OpenWGA 7.0 - WebTML reference

WebTML metadata

Metadata of type="content"

This metadata type is related to the content document currently in context in WebTML, also to the documents related to it like the page / struct entry or its content type.

These metadata fields are not 1:1 identical with what the WGAPI content object serves as metadata fields, although some fields may be the same. Content metadata in WebTML is an enriched set of everything related to the content document which includes fields that are actually stored on other, related WGAPI documents.
Name Contents Data type
area The web area that contains the content String
author Name of the author of the current content version String
contentclass Content class of the content (Only content stores of Version 5 or higher) String
contenttype | doctype Name of the content type String
created Date/time of creation of the content Date
description Some descriptive text about the content String
email E-Mail address of the author of the current content version. This actually does a lookup of the E-Mail-Address on the authentication source that is used for the application. String
index Absolute index of the page among its sibling pages. The order of siblings is the same as in WebTML navigators. Number
innerlayout Name of the WebTML module used as inner layout for this content String
ishiddenfrom Navigation artefacts where to hide the content:
nav - Navigators
search - Queries
sitemaps - Sitemaps
List of Strings
key The unique content key String
keywords Keywords for this content to be used by internet search machines List of Strings
language Code of the content language, like "en", "de" etc. String
languagetitle Title of the content language, as "English", "German" etc. String
level Hierarchy level of the page in page hierarchy. Root pages have level 1, their children level 2 and so on. Number
linktarget Name of the browser window where to open a link to this document (which is enforced by WebTML tag ) String
modified Date/time of last modification of the content Date
navindex Absolute index of the page among those sibling pages that are visible in navigators (meta ishiddenfrom does not contain "nav"). The order of siblings is the same as in WebTML navigators. Number
outerlayout Name of the WebTML module used as outer layout for this content String
owner Name of the owner of the current content (Only content stores of Version 5 or higher) Date
pagename, pageuniquename Unique name of the page (Only content stores of Version 5 or higher) String
pagepublished Date/time at which the current page in the current language first entered status "published" (Only content stores of Version 5 or higher) Date
position Position order number of the page. The order of siblings of the page is sorted on this number. Number
published Date/time at which the current content version entered status "published" (Only content stores of Version 5 or higher) Date
searchexplanation On search results from lucene: Mathematic description of the current documents relevance for the query. Is only available if option "explain" was specified on the query. String
searchscore On search result documents from lucene or other, DB-type specific fulltext indices: The relevance of the current content result for the executed query as a fraction value between 0 (low) and 1 (high) String
siblings Number of page siblings, including the current page Number
status Workflow state of the content:
w - Working copy
g - In approval workflow
p - Published
a - Archived
String
structkey Key of the struct entry of the page String
structtitle Title of the struct entry of the page. This is a language independent title only shown in authoring apps when no content of the needed language is available. String
title The title of the content String
uniquename, name, docname Unique name of the content. This is an obsolete field for WGA Content Stores of earlier versions than 5. The unique name of the page is served by meta "pagename" String
validfrom Date/time before which the content should be invisible Date
validto Date after which the content should be invisible Date
version Version number of the content Number
virtuallink Information about the target of the virtual link (if the document is virtual). Content is dependent on the type of the virtual link (meta "virtuallinktype"):
  • "int" - Content key of the target document
  • "exturl" - URL to an external website
  • "file" - Syntax: <documentkey>/<filename>, where <documentkey> is the name of a file container or the key of a content document
  • "intfile" - Name of a file attachment on this content
String
workflow Name of the workflow for this content String