<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reflection of properties and aspects of document type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/reflection-of-properties-and-aspects-of-document-type/m-p/259808#M212938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Old thread, but what you need to do is query the type definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, to get the type definition for cmis:document, I'd do a GET on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/52e60818-a3d2-45d5-a753-cac9929315e0/type?id=cmis:document" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/52e60818-a3d2-45d5-a753-cac9929315e0/type?id=cmis:document&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to query for custom types, remember that the ID starts with "D:" for types that extend from cmis:document, like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=D:sc:whitepaper" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=D:sc:whitepaper&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to query for custom aspects, they start with a "P:" (for policy), like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=P:sc:webable" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=P:sc:webable&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That "558e5b3c…" number is the repository ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are all using Alfresco 4 URLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Feb 2012 20:54:44 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2012-02-15T20:54:44Z</dc:date>
    <item>
      <title>Reflection of properties and aspects of document type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reflection-of-properties-and-aspects-of-document-type/m-p/259807#M212937</link>
      <description>I'd like to be able to query via a REST Web Service what the properties (and data types) and aspects are that belong to a document type.I thought that a query like the following would do it, but it does not seem to return any aspects or custom properties:http://localhost:8080/alfresco/s/cmis/type/D:</description>
      <pubDate>Tue, 03 May 2011 00:08:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reflection-of-properties-and-aspects-of-document-type/m-p/259807#M212937</guid>
      <dc:creator>ghernando</dc:creator>
      <dc:date>2011-05-03T00:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reflection of properties and aspects of document type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reflection-of-properties-and-aspects-of-document-type/m-p/259808#M212938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Old thread, but what you need to do is query the type definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, to get the type definition for cmis:document, I'd do a GET on:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/52e60818-a3d2-45d5-a753-cac9929315e0/type?id=cmis:document" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/52e60818-a3d2-45d5-a753-cac9929315e0/type?id=cmis:document&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to query for custom types, remember that the ID starts with "D:" for types that extend from cmis:document, like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=D:sc:whitepaper" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=D:sc:whitepaper&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to query for custom aspects, they start with a "P:" (for policy), like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=P:sc:webable" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/cmisatom/558e5b3c-71a0-42ac-b420-eda16e93e95b/type?id=P:sc:webable&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That "558e5b3c…" number is the repository ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are all using Alfresco 4 URLs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 20:54:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reflection-of-properties-and-aspects-of-document-type/m-p/259808#M212938</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-02-15T20:54:44Z</dc:date>
    </item>
  </channel>
</rss>

