ObjectTag Data Type

Tag object representing a contenttag in the GCN

Properties
name data type description
displayName string Display name
description string Description
required boolean True when the objectag is required
inheritable boolean True when the object tag can be inherited onto other objects (e.g. from a folder to objects contained in the folder, or from a template to pages)
categoryName string Category name
sortOrder number Sort order of the object tag (for display in the object tag list while editing)
readOnly boolean True when the objecttag cannot be modified
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

{
  "displayName" : "...",
  "description" : "...",
  "required" : true,
  "inheritable" : true,
  "categoryName" : "...",
  "sortOrder" : 12345,
  "readOnly" : 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" : "FORM",
      "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" : "OVERVIEW",
      "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" : "MULTISELECT",
      "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" : "DESC",
        "orderBy" : "CDATE",
        "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" : "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" : "FILE",
        "selectType" : "FOLDER",
        "orderDirection" : "ASC",
        "orderBy" : "CDATE",
        "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" : "CONTENTTAG"
}