Tag Data Type

Tag object representing a contenttag in the GCN

Subtypes
TemplateTag
Properties
name data type description
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

{
  "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" : "BREADCRUMB",
      "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" : "RICHTEXT",
      "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" : "FOLDER",
      "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" : "IMAGE",
        "selectType" : "AUTO",
        "orderDirection" : "ASC",
        "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" : "..."
    },
    "property2" : {
      "type" : "VELOCITY",
      "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" : "ASC",
        "orderBy" : "FILESIZE",
        "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"
}