TemplateTag Data Type

Tag object representing a templaetag in the GCN

Properties
name data type description
mandatory boolean Get the flag that defines whether the tag is mandatory or not
editableInPage boolean Get the flag that defines whether the tag is editable in page or not
Properties inherited from Tag
id number ID
name string Name
constructId number Construct ID
construct Construct Embedded construct
active boolean True when the tag is active
properties map of Property Tag properties
type Type Tag type

Example

{
  "mandatory" : true,
  "editableInPage" : true,
  "id" : 12345,
  "name" : "...",
  "constructId" : 12345,
  "construct" : {
    "keyword" : "...",
    "mayBeSubtag" : true,
    "mayContainSubtags" : true,
    "id" : 12345,
    "globalId" : "...",
    "name" : "...",
    "description" : "...",
    "icon" : "...",
    "creator" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "cdate" : 12345,
    "editor" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "edate" : 12345,
    "editdo" : 12345,
    "category" : "...",
    "categorySortorder" : 12345,
    "newEditor" : true,
    "externalEditorUrl" : "...",
    "parts" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "mandatory" : true,
      "type" : "PAGE",
      "typeId" : 12345,
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { },
      "regex" : { },
      "hideInEditor" : true,
      "externalEditorUrl" : "...",
      "options" : [ { }, { } ],
      "overviewSettings" : { },
      "selectSettings" : { },
      "markupLanguageId" : 12345,
      "htmlClass" : "...",
      "partOrder" : 12345,
      "policy" : "...",
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      }
    }, {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "mandatory" : true,
      "type" : "UNORDEREDLIST",
      "typeId" : 12345,
      "id" : 12345,
      "globalId" : "...",
      "defaultProperty" : { },
      "regex" : { },
      "hideInEditor" : true,
      "externalEditorUrl" : "...",
      "options" : [ { }, { } ],
      "overviewSettings" : { },
      "selectSettings" : { },
      "markupLanguageId" : 12345,
      "htmlClass" : "...",
      "partOrder" : 12345,
      "policy" : "...",
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      }
    } ],
    "visibleInMenu" : true,
    "nameI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "descriptionI18n" : {
      "property1" : "...",
      "property2" : "..."
    },
    "autoEnable" : true,
    "liveEditorTagName" : "...",
    "hopeditHook" : "...",
    "categoryId" : 12345
  },
  "active" : true,
  "properties" : {
    "property1" : {
      "type" : "TABLE",
      "stringValue" : "...",
      "booleanValue" : true,
      "fileId" : 12345,
      "imageId" : 12345,
      "folderId" : 12345,
      "pageId" : 12345,
      "formId" : 12345,
      "stringValues" : [ "...", "..." ],
      "options" : [ {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      }, {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      } ],
      "selectedOptions" : [ {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      }, {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      } ],
      "datasourceId" : 12345,
      "overview" : {
        "listType" : "PAGE",
        "selectType" : "AUTO",
        "orderDirection" : "UNDEFINED",
        "orderBy" : "SELF",
        "selectedItemIds" : [ 12345, 12345 ],
        "selectedNodeItemIds" : [ { }, { } ],
        "source" : "...",
        "maxItems" : 12345,
        "recursive" : true,
        "id" : 12345,
        "globalId" : "..."
      },
      "templateId" : 12345,
      "contentTagId" : 12345,
      "templateTagId" : 12345,
      "nodeId" : 12345,
      "partId" : 12345,
      "id" : 12345,
      "globalId" : "..."
    },
    "property2" : {
      "type" : "TEMPLATETAG",
      "stringValue" : "...",
      "booleanValue" : true,
      "fileId" : 12345,
      "imageId" : 12345,
      "folderId" : 12345,
      "pageId" : 12345,
      "formId" : 12345,
      "stringValues" : [ "...", "..." ],
      "options" : [ {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      }, {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      } ],
      "selectedOptions" : [ {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      }, {
        "id" : 12345,
        "key" : "...",
        "value" : "..."
      } ],
      "datasourceId" : 12345,
      "overview" : {
        "listType" : "PAGE",
        "selectType" : "MANUAL",
        "orderDirection" : "DESC",
        "orderBy" : "ALPHABETICALLY",
        "selectedItemIds" : [ 12345, 12345 ],
        "selectedNodeItemIds" : [ { }, { } ],
        "source" : "...",
        "maxItems" : 12345,
        "recursive" : true,
        "id" : 12345,
        "globalId" : "..."
      },
      "templateId" : 12345,
      "contentTagId" : 12345,
      "templateTagId" : 12345,
      "nodeId" : 12345,
      "partId" : 12345,
      "id" : 12345,
      "globalId" : "..."
    }
  },
  "type" : "TEMPLATETAG"
}