Note Templates

Note Templates are accessible via the “other” folder directly under the root directory. Calling getChildren() on the “NoteTemplates” folder will return a list of all note templates that are currently available via CMIS.

../_images/note-templates-workbench.PNG

Get note templates

GET https://test.test.net/Web.Start/test/Api/CMIS/T1/children/?id=notetemplates HTTP/1.1
Host: test.test.net
Connection: keep-alive
Authorization: Basic Y21pczpjbWlz
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: application/atom+xml;type=feed
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
X-UA-Compatible: IE=edge
Date: Mon, 17 Oct 2016 07:37:59 GMT
Content-Length: 40161

<?xml version="1.0" encoding="utf-8"?>
<feed xml:base="https://test.test.net/Web.Start/test/Api/CMIS/" xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/">
        <atom:title type="text">Note Templates</atom:title>
        <atom:id>notetemplates</atom:id>
        <atom:updated>2016-10-17T17:38:00Z</atom:updated>
        <atom:link rel="service" type="application/atomsvc+xml" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/servicedoc"/>
        <atom:link rel="self" type="application/atom+xml;type=feed" href="https://test.rd.local/Web.Start/T1.CMIS.Web.CmisObjects.ConnectorLibrary.Services.Service/T1/children/?id=notetemplates&amp;environmentId=test"/>
        <atom:link rel="via" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/object/?id=notetemplates"/>
        <atom:link rel="down" type="application/cmistree+xml" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/descendants/?id=notetemplates"/>
        <atom:link rel="up" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/objectparents/?objectId=notetemplates"/>
        <cmisra:hasMoreItems>false</cmisra:hasMoreItems>
        <cmisra:numItems>2</cmisra:numItems>
        <atom:entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <atom:id>notetemplate-13</atom:id>
                <atom:title type="text">This is for Ellie's testing</atom:title>
                <atom:published>2016-10-17T17:38:00Z</atom:published>
                <atom:updated>2016-10-17T17:38:00Z</atom:updated>
                <atom:link rel="self" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/object/?id=notetemplate-13"/>
                <atom:link rel="service" type="application/atomsvc+xml" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/servicedoc"/>
                <atom:link rel="describedby" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/type/?id=cmis:item"/>
                <atom:link rel="http://docs.oasis-open.org/ns/cmis/link/200908/allowableactions" type="application/cmisallowableactions+xml" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/allowableactions/?id=notetemplate-13"/>
                <atom:link rel="http://docs.oasis-open.org/ns/cmis/link/200908/policies" type="application/atom+xml;type=feed" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/policies/?id=notetemplate-13"/>
                <atom:link rel="down" type="application/atom+xml;type=feed" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/children/?id=notetemplate-13"/>
                <atom:link rel="up" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/objectparents/?objectId=notetemplate-13&amp;filter=%7Bfilter%7D&amp;includeRelationships=%7BincludeRelationships%7D&amp;renditionFilter=%7BrenditionFilter%7D&amp;includeAllowableActions=%7BincludeAllowableActions%7D&amp;includeRelativePathSegment=%7BincludeRelativePathSegment%7D"/>
                <app:edited>2016-10-17T17:38:00.150868Z</app:edited>
                <cmisra:object>
                        <cmis:properties>
                                <cmis:propertyString propertyDefinitionId="cmis:name" localName="Name" displayName="Name" queryName="cmis:name">
                                        <cmis:value>This is for Ellie's testing</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyString propertyDefinitionId="cmis:description" localName="Description" displayName="Description" queryName="cmis:description">
                                        <cmis:value>Please enter a new word here ...</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyId propertyDefinitionId="cmis:objectId" localName="ObjectId" displayName="Object Id" queryName="cmis:objectId">
                                        <cmis:value>notetemplate-13</cmis:value>
                                </cmis:propertyId>
                                <cmis:propertyId propertyDefinitionId="cmis:baseTypeId" localName="BaseTypeId" displayName="Base Type Id" queryName="cmis:baseTypeId">
                                        <cmis:value>cmis:item</cmis:value>
                                </cmis:propertyId>
                                <cmis:propertyId propertyDefinitionId="cmis:objectTypeId" localName="ObjectTypeId" displayName="Object Type Id" queryName="cmis:objectTypeId">
                                        <cmis:value>t1notetemplatetype</cmis:value>
                                </cmis:propertyId>
                                <cmis:propertyId propertyDefinitionId="cmis:secondaryObjectTypeIds" localName="secondaryObjectTypeIds" displayName="Ids of the objects secondary types." queryName="cmis:secondaryObjectTypeIds"/>
                                <cmis:propertyString propertyDefinitionId="cmis:createdBy" localName="CreatedBy" displayName="Created By" queryName="cmis:createdBy">
                                        <cmis:value>N/A</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyDateTime propertyDefinitionId="cmis:creationDate" localName="CreationDate" displayName="Creation Date" queryName="cmis:creationDate">
                                        <cmis:value>0001-01-01T00:00:00Z</cmis:value>
                                </cmis:propertyDateTime>
                                <cmis:propertyString propertyDefinitionId="cmis:lastModifiedBy" localName="LastModifiedBy" displayName="Last Modified By" queryName="cmis:lastModifiedBy">
                                        <cmis:value>1</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyDateTime propertyDefinitionId="cmis:lastModificationDate" localName="LastModificationDate" displayName="Last Modification Date" queryName="cmis:lastModificationDate">
                                        <cmis:value>2015-11-25T16:57:55.92+10:00</cmis:value>
                                </cmis:propertyDateTime>
                                <cmis:propertyString propertyDefinitionId="cmis:path" localName="Path" displayName="Path" queryName="cmis:path">
                                        <cmis:value>/OTHER/NOTETEMPLATES/notetemplate-13</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyString propertyDefinitionId="cmis:relativePathSegment" localName="relativePathSegment" displayName="Relative Path Segment" queryName="cmis:relativePathSegment">
                                        <cmis:value>notetemplate-13</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyId propertyDefinitionId="cmis:changeToken" localName="Changetoken" displayName="Changetoken" queryName="cmis:changeToken"/>
                                <cmis:propertyInteger propertyDefinitionId="cmis:noteTemplateId" localName="cmis:noteTemplateId" displayName="cmis:noteTemplateId" queryName="cmis:noteTemplateId">
                                        <cmis:value>13</cmis:value>
                                </cmis:propertyInteger>
                        </cmis:properties>
                        <cmis:allowableActions>
                                <cmis:canDeleteObject>false</cmis:canDeleteObject>
                                <cmis:canUpdateProperties>false</cmis:canUpdateProperties>
                                <cmis:canGetFolderTree>false</cmis:canGetFolderTree>
                                <cmis:canGetProperties>true</cmis:canGetProperties>
                                <cmis:canGetObjectRelationships>false</cmis:canGetObjectRelationships>
                                <cmis:canGetObjectParents>true</cmis:canGetObjectParents>
                                <cmis:canGetFolderParent>false</cmis:canGetFolderParent>
                                <cmis:canGetDescendants>false</cmis:canGetDescendants>
                                <cmis:canMoveObject>false</cmis:canMoveObject>
                                <cmis:canDeleteContentStream>false</cmis:canDeleteContentStream>
                                <cmis:canCheckOut>false</cmis:canCheckOut>
                                <cmis:canCancelCheckOut>false</cmis:canCancelCheckOut>
                                <cmis:canCheckIn>false</cmis:canCheckIn>
                                <cmis:canSetContentStream>false</cmis:canSetContentStream>
                                <cmis:canGetAllVersions>false</cmis:canGetAllVersions>
                                <cmis:canAddObjectToFolder>false</cmis:canAddObjectToFolder>
                                <cmis:canRemoveObjectFromFolder>false</cmis:canRemoveObjectFromFolder>
                                <cmis:canGetContentStream>false</cmis:canGetContentStream>
                                <cmis:canApplyPolicy>false</cmis:canApplyPolicy>
                                <cmis:canGetAppliedPolicies>false</cmis:canGetAppliedPolicies>
                                <cmis:canRemovePolicy>false</cmis:canRemovePolicy>
                                <cmis:canGetChildren>false</cmis:canGetChildren>
                                <cmis:canCreateDocument>false</cmis:canCreateDocument>
                                <cmis:canCreateFolder>false</cmis:canCreateFolder>
                                <cmis:canCreateRelationship>false</cmis:canCreateRelationship>
                                <cmis:canDeleteTree>false</cmis:canDeleteTree>
                                <cmis:canGetRenditions>false</cmis:canGetRenditions>
                                <cmis:canGetACL>false</cmis:canGetACL>
                                <cmis:canApplyACL>false</cmis:canApplyACL>
                        </cmis:allowableActions>
                </cmisra:object>
                <cmisra:relativePathSegment>2d32985750d840d29e515ed643698a8d</cmisra:relativePathSegment>
                <cmisra:pathSegment>notetemplate-13</cmisra:pathSegment>
        </atom:entry>
        <atom:entry xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <atom:id>notetemplate-15</atom:id>
                <atom:title type="text">CJO Test</atom:title>
                <atom:published>2016-10-17T17:38:00Z</atom:published>
                <atom:updated>2016-10-17T17:38:00Z</atom:updated>
                <atom:link rel="self" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/object/?id=notetemplate-15"/>
                <atom:link rel="service" type="application/atomsvc+xml" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/servicedoc"/>
                <atom:link rel="describedby" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/type/?id=cmis:item"/>
                <atom:link rel="http://docs.oasis-open.org/ns/cmis/link/200908/allowableactions" type="application/cmisallowableactions+xml" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/allowableactions/?id=notetemplate-15"/>
                <atom:link rel="http://docs.oasis-open.org/ns/cmis/link/200908/policies" type="application/atom+xml;type=feed" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/policies/?id=notetemplate-15"/>
                <atom:link rel="down" type="application/atom+xml;type=feed" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/children/?id=notetemplate-15"/>
                <atom:link rel="up" type="application/atom+xml;type=entry" href="https://test.test.net/Web.Start/test/Api/CMIS/T1/objectparents/?objectId=notetemplate-15&amp;filter=%7Bfilter%7D&amp;includeRelationships=%7BincludeRelationships%7D&amp;renditionFilter=%7BrenditionFilter%7D&amp;includeAllowableActions=%7BincludeAllowableActions%7D&amp;includeRelativePathSegment=%7BincludeRelativePathSegment%7D"/>
                <app:edited>2016-10-17T17:38:00.150868Z</app:edited>
                <cmisra:object>
                        <cmis:properties>
                                <cmis:propertyString propertyDefinitionId="cmis:name" localName="Name" displayName="Name" queryName="cmis:name">
                                        <cmis:value>CJO Test</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyString propertyDefinitionId="cmis:description" localName="Description" displayName="Description" queryName="cmis:description">
                                        <cmis:value>Test CJO Text</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyId propertyDefinitionId="cmis:objectId" localName="ObjectId" displayName="Object Id" queryName="cmis:objectId">
                                        <cmis:value>notetemplate-15</cmis:value>
                                </cmis:propertyId>
                                <cmis:propertyId propertyDefinitionId="cmis:baseTypeId" localName="BaseTypeId" displayName="Base Type Id" queryName="cmis:baseTypeId">
                                        <cmis:value>cmis:item</cmis:value>
                                </cmis:propertyId>
                                <cmis:propertyId propertyDefinitionId="cmis:objectTypeId" localName="ObjectTypeId" displayName="Object Type Id" queryName="cmis:objectTypeId">
                                        <cmis:value>t1notetemplatetype</cmis:value>
                                </cmis:propertyId>
                                <cmis:propertyId propertyDefinitionId="cmis:secondaryObjectTypeIds" localName="secondaryObjectTypeIds" displayName="Ids of the objects secondary types." queryName="cmis:secondaryObjectTypeIds"/>
                                <cmis:propertyString propertyDefinitionId="cmis:createdBy" localName="CreatedBy" displayName="Created By" queryName="cmis:createdBy">
                                        <cmis:value>N/A</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyDateTime propertyDefinitionId="cmis:creationDate" localName="CreationDate" displayName="Creation Date" queryName="cmis:creationDate">
                                        <cmis:value>0001-01-01T00:00:00Z</cmis:value>
                                </cmis:propertyDateTime>
                                <cmis:propertyString propertyDefinitionId="cmis:lastModifiedBy" localName="LastModifiedBy" displayName="Last Modified By" queryName="cmis:lastModifiedBy">
                                        <cmis:value>1</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyDateTime propertyDefinitionId="cmis:lastModificationDate" localName="LastModificationDate" displayName="Last Modification Date" queryName="cmis:lastModificationDate">
                                        <cmis:value>2016-02-03T14:10:00.903+10:00</cmis:value>
                                </cmis:propertyDateTime>
                                <cmis:propertyString propertyDefinitionId="cmis:path" localName="Path" displayName="Path" queryName="cmis:path">
                                        <cmis:value>/OTHER/NOTETEMPLATES/notetemplate-15</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyString propertyDefinitionId="cmis:relativePathSegment" localName="relativePathSegment" displayName="Relative Path Segment" queryName="cmis:relativePathSegment">
                                        <cmis:value>notetemplate-15</cmis:value>
                                </cmis:propertyString>
                                <cmis:propertyId propertyDefinitionId="cmis:changeToken" localName="Changetoken" displayName="Changetoken" queryName="cmis:changeToken"/>
                                <cmis:propertyInteger propertyDefinitionId="cmis:noteTemplateId" localName="cmis:noteTemplateId" displayName="cmis:noteTemplateId" queryName="cmis:noteTemplateId">
                                        <cmis:value>15</cmis:value>
                                </cmis:propertyInteger>
                        </cmis:properties>
                        <cmis:allowableActions>
                                <cmis:canDeleteObject>false</cmis:canDeleteObject>
                                <cmis:canUpdateProperties>false</cmis:canUpdateProperties>
                                <cmis:canGetFolderTree>false</cmis:canGetFolderTree>
                                <cmis:canGetProperties>true</cmis:canGetProperties>
                                <cmis:canGetObjectRelationships>false</cmis:canGetObjectRelationships>
                                <cmis:canGetObjectParents>true</cmis:canGetObjectParents>
                                <cmis:canGetFolderParent>false</cmis:canGetFolderParent>
                                <cmis:canGetDescendants>false</cmis:canGetDescendants>
                                <cmis:canMoveObject>false</cmis:canMoveObject>
                                <cmis:canDeleteContentStream>false</cmis:canDeleteContentStream>
                                <cmis:canCheckOut>false</cmis:canCheckOut>
                                <cmis:canCancelCheckOut>false</cmis:canCancelCheckOut>
                                <cmis:canCheckIn>false</cmis:canCheckIn>
                                <cmis:canSetContentStream>false</cmis:canSetContentStream>
                                <cmis:canGetAllVersions>false</cmis:canGetAllVersions>
                                <cmis:canAddObjectToFolder>false</cmis:canAddObjectToFolder>
                                <cmis:canRemoveObjectFromFolder>false</cmis:canRemoveObjectFromFolder>
                                <cmis:canGetContentStream>false</cmis:canGetContentStream>
                                <cmis:canApplyPolicy>false</cmis:canApplyPolicy>
                                <cmis:canGetAppliedPolicies>false</cmis:canGetAppliedPolicies>
                                <cmis:canRemovePolicy>false</cmis:canRemovePolicy>
                                <cmis:canGetChildren>false</cmis:canGetChildren>
                                <cmis:canCreateDocument>false</cmis:canCreateDocument>
                                <cmis:canCreateFolder>false</cmis:canCreateFolder>
                                <cmis:canCreateRelationship>false</cmis:canCreateRelationship>
                                <cmis:canDeleteTree>false</cmis:canDeleteTree>
                                <cmis:canGetRenditions>false</cmis:canGetRenditions>
                                <cmis:canGetACL>false</cmis:canGetACL>
                                <cmis:canApplyACL>false</cmis:canApplyACL>
                        </cmis:allowableActions>
                </cmisra:object>
                <cmisra:relativePathSegment>50227f4dcccd437cbc64615afbd50f92</cmisra:relativePathSegment>
                <cmisra:pathSegment>notetemplate-15</cmisra:pathSegment>
        </atom:entry>
</feed>