<?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: How to get through CMIS the available document types in my folder? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-through-cmis-the-available-document-types-in-my/m-p/323223#M10224</link>
    <description>&lt;P&gt;I don't believe Nuxeo 7.2 currently populates the cmis:allowedChildObjectTypeIds property for folders. You might want to submit this as an enhancement request/bug report to Nuxeo.&lt;/P&gt;</description>
    <pubDate>Sat, 28 Mar 2015 07:21:02 GMT</pubDate>
    <dc:creator>rg1_</dc:creator>
    <dc:date>2015-03-28T07:21:02Z</dc:date>
    <item>
      <title>How to get through CMIS the available document types in my folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-through-cmis-the-available-document-types-in-my/m-p/323222#M10223</link>
      <description>&lt;P&gt;In the Nuxeo's interface I can see the restriction created in my folder (my folder --&amp;gt; Manage tab --&amp;gt; Local Configuration sub-tab --&amp;gt; Document types configuration) but I don't see its using CMIS&lt;/P&gt;
&lt;P&gt;My code is:&lt;/P&gt;
&lt;P&gt;public List&lt;OBJECTTYPE&gt; getAvailableDocumentTypes(Session session, String folderPath){&lt;/OBJECTTYPE&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Folder someFolder = (Folder) session.getObjectByPath(folderPath);
List&amp;lt;ObjectType&amp;gt; listType = someFolder.getAllowedChildObjectTypes();

for (ObjectType objectType : listType) {
	System.out.println(objectType.getDisplayName());
}

return listType;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;My code returns an empty list but should return the list of the available document types.&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:54:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-through-cmis-the-available-document-types-in-my/m-p/323222#M10223</guid>
      <dc:creator>Romina_Racca</dc:creator>
      <dc:date>2015-02-11T18:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get through CMIS the available document types in my folder?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-through-cmis-the-available-document-types-in-my/m-p/323223#M10224</link>
      <description>&lt;P&gt;I don't believe Nuxeo 7.2 currently populates the cmis:allowedChildObjectTypeIds property for folders. You might want to submit this as an enhancement request/bug report to Nuxeo.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2015 07:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-get-through-cmis-the-available-document-types-in-my/m-p/323223#M10224</guid>
      <dc:creator>rg1_</dc:creator>
      <dc:date>2015-03-28T07:21:02Z</dc:date>
    </item>
  </channel>
</rss>

