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" : "...",
    "creator" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "cdate" : 12345,
    "editor" : {
      "id" : 12345,
      "firstName" : "...",
      "lastName" : "...",
      "description" : "...",
      "email" : "...",
      "groups" : [ { }, { } ],
      "login" : "...",
      "password" : "..."
    },
    "edate" : 12345,
    "category" : {
      "name" : "...",
      "constructs" : {
        "property1" : { },
        "property2" : { }
      },
      "id" : 12345,
      "globalId" : "...",
      "nameI18n" : {
        "property1" : "...",
        "property2" : "..."
      },
      "sortOrder" : 12345
    },
    "externalEditorUrl" : "...",
    "parts" : [ {
      "name" : "...",
      "keyword" : "...",
      "hidden" : true,
      "editable" : true,
      "liveEditable" : true,
      "mandatory" : true,
      "type" : "IMAGE",
      "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" : "LOCALFILE",
      "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" : "...",
    "openEditorOnInsert" : true,
    "editorControlStyle" : "ASIDE",
    "editorControlsInside" : true,
    "categoryId" : 12345
  },
  "active" : true,
  "properties" : {
    "property1" : {
      "type" : "BREADCRUMB",
      "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" : "UNDEFINED",
        "orderBy" : "PDATE",
        "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" : "LOCALFILE",
      "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" : "FOLDER",
        "selectType" : "AUTO",
        "orderDirection" : "ASC",
        "orderBy" : "EDATE",
        "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"
}