OpenWGA 7.6 - 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 Orderable
area The web area that contains the content String No
author Name of the author of the current content version String Yes
contentclass Content class of the content (Only content stores of Version 5 or higher) String Yes
contenttype | doctype Name of the content type String No
created Date/time of creation of the content Date Yes
description Some descriptive text about the content String No
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 No
index Absolute index of the page among its sibling pages. The order of siblings is the same as in WebTML navigators. Number No
innerlayout Name of the WebTML module used as inner layout for this content String No
ishiddenfrom Navigation artefacts where to hide the content:
nav - Navigators
search - Queries
sitemaps - Sitemaps
List of Strings No
key The unique content key String No
keywords Keywords for this content to be used by internet search machines List of Strings No
language Code of the content language, like "en", "de" etc. String Yes
languagetitle Title of the content language, as "English", "German" etc. String No
lastmodified | modified Date/time of last modification of the content Date Yes (as lastmodified)
level Hierarchy level of the page in page hierarchy. Root pages have level 1, their children level 2 and so on. Number No
linktarget Name of the browser window where to open a link to this document (which is enforced by WebTML tag ) String No
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 No
outerlayout Name of the WebTML module used as outer layout for this content String No
owner Name of the owner of the current content (Only content stores of Version 5 or higher) Date Yes
pagecreated Date/time of creation of the page Date Yes
pagename, pageuniquename Unique name of the page (Only content stores of Version 5 or higher) String Yes
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 Yes
pagetitle The title of the page. This is the title with which this page was created which normally is only visible in OpenWGA Content Manager when not content is displayed. String Yes
position Position order number of the page. The order of siblings of the page is sorted on this number. Number Yes
published Date/time at which the current content version entered status "published" (Only content stores of Version 5 or higher) Date Yes
searchdoctype On search results from lucene: Is either "content" if the fields of the content document matched the query or "attachment" if an attachment on this document matched it, whose name is provided in metadata field SEARCHFILENAME String No
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 No
searchfilename On search results from lucene: Returns the name of the file attachment which matched the lucene query. Is null on results that are not based on a matching file attachment (see meta SEARCHDOCTYPE). String No
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 No
siblings Number of page siblings, including the current page Number No
status Workflow state of the content:
w - Working copy
g - In approval workflow
p - Published
a - Archived
String No
structkey Key of the struct entry of the page String No
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 No
title The title of the content String Yes
uniquename, name 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 Yes
url URL to this content (same as contenturl()) String No
validfrom Date/time before which the content should be invisible Date No
validto Date after which the content should be invisible Date No
version Version number of the content Number Yes
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 No
workflow Name of the workflow for this content String No