<?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: Fetch all secondary types from repository using CMIS getTypeDefinition in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69221#M22870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on a previous thread where in &lt;B&gt;Axel Faust&lt;/B&gt;‌ had suggested&amp;nbsp; that I use repository services from CMIS to get all secondary types, I was trying out the same. Please refer below thread&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="238630" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/238630-lucene-search-vs-cmis-query-search" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to see if I can use CMIS across my client API that I am trying to build and move away from REST services, (unless totally unavoidable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Sep 2018 01:38:40 GMT</pubDate>
    <dc:creator>kartech11</dc:creator>
    <dc:date>2018-09-01T01:38:40Z</dc:date>
    <item>
      <title>Fetch all secondary types from repository using CMIS getTypeDefinition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69219#M22868</link>
      <description>I am trying to get all the type definitions (specifically aspects, so they are secondary types) from the repository.I am connecting to a locally started bootstrap jar projects that starts up alfresco on localhost:8080.&amp;nbsp;So far connecting to this alfresco has been working fine, and I have been able to</description>
      <pubDate>Fri, 31 Aug 2018 14:23:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69219#M22868</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-08-31T14:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch all secondary types from repository using CMIS getTypeDefinition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69220#M22869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot ask for every type / aspect definition in Alfresco by using CMIS API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method you are using is expecting a CMIS Type ID, like in this sample:&amp;nbsp;&lt;A class="link-titled" href="https://chemistry.apache.org/docs/cmis-samples/samples/types/index.html#getting-type-definitions" title="https://chemistry.apache.org/docs/cmis-samples/samples/types/index.html#getting-type-definitions" rel="nofollow noopener noreferrer"&gt;Working with Types - Apache Chemistry Samples&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should use Alfresco REST API to recover a list of deployed types and aspects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 16:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69220#M22869</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-08-31T16:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch all secondary types from repository using CMIS getTypeDefinition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69221#M22870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on a previous thread where in &lt;B&gt;Axel Faust&lt;/B&gt;‌ had suggested&amp;nbsp; that I use repository services from CMIS to get all secondary types, I was trying out the same. Please refer below thread&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="238630" __jive_macro_name="thread" _jive_internal="true" class="jive_macro_thread jive_macro link-titled" href="https://community.alfresco.com/thread/238630-lucene-search-vs-cmis-query-search" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to see if I can use CMIS across my client API that I am trying to build and move away from REST services, (unless totally unavoidable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2018 01:38:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69221#M22870</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-09-01T01:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch all secondary types from repository using CMIS getTypeDefinition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69222#M22871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;With a CMIS call like&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser?cmisselector=typeDescendants&amp;amp;typeId=cmis:secondary" rel="nofollow noopener noreferrer" target="_blank"&gt;https://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser?cmisselector=typeDescendants&amp;amp;typeId=cmis:secondary&lt;/A&gt;&lt;SPAN&gt; you can load the type definitions of all aspects exposed via CMIS (note that Alfresco hides some core aspects due to its implementation and its mapping to CMIS equivalents). So, in your Java code for working with OpenCMIS, you simply need to put in cmis:secondary as the base type ID (there is even a constant for this somewhere) and use getTypeDescendants to list aspects. Of course if you already know the type ID (aspect name) you can call getTypeDefinition directly, which might be more efficient especially if you have enabled type definition caching.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 08:12:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69222#M22871</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-09-03T08:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch all secondary types from repository using CMIS getTypeDefinition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69223#M22872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for your response &lt;B&gt;Axel Faust&lt;/B&gt;‌ , this really helps. I would like to clarify on the above post, the CMIS call that you have provided is a REST call, is there a way I can pass the cmisselector and typeid from a JAVA API call, something like ay to a session.query and obtain the QueryResult? Just checking if there is a java API equivalent of the above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2018 13:00:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/fetch-all-secondary-types-from-repository-using-cmis/m-p/69223#M22872</guid>
      <dc:creator>kartech11</dc:creator>
      <dc:date>2018-09-03T13:00:33Z</dc:date>
    </item>
  </channel>
</rss>

