<?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: (7.10) (CMIS Atompub) : are the secondarytypes (dynamic facets) settable at all through CMIS ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325665#M12666</link>
    <description>&lt;P&gt;Florent,
thanks for your prompt reply.&lt;/P&gt;
&lt;P&gt;I overlooked the read-only attribute for `cmis:secondaryObjectTypeIds'. However there is no CmisConstraintException raised when I try to set the property &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;J.-M.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2016 10:44:22 GMT</pubDate>
    <dc:creator>J_-M_K_</dc:creator>
    <dc:date>2016-02-01T10:44:22Z</dc:date>
    <item>
      <title>(7.10) (CMIS Atompub) : are the secondarytypes (dynamic facets) settable at all through CMIS ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325663#M12664</link>
      <description>&lt;P&gt;It seems impossible to set cmis:secondaryTypesId through CMIS. Is it intended behavior ?&lt;/P&gt;
&lt;P&gt;I added the following test to nuxeo-opencmis-test. This test is failing. Did I miss something about nuxeo and secondarytypes ?&lt;/P&gt;
&lt;P&gt;@Test
public void SettingSecondaryType () {
assertEquals(BindingType.ATOMPUB,session.getBinding().getBindingType());
Folder folder = FileUtils.getFolder("/testfolder1",session);
//properties of new document
Map&amp;lt;String, Object&amp;gt; props = new HashMap&amp;lt;String, Object&amp;gt;();
//create a Note called test2
props.put("cmis:objectTypeId", "Note");
props.put("cmis:name", "test2");
//add facet:CustomFacetWithoutSchema as secondarytype
props.put("cmis:secondaryObjectTypeIds", Arrays.asList("facet:CustomFacetWithoutSchema"));
Document doc = folder.createDocument(props, null, VersioningState.MAJOR);
FileUtils.printProperties(doc);
assertNotNull(doc.getSecondaryTypes());
}&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:44:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325663#M12664</guid>
      <dc:creator>J_-M_K_</dc:creator>
      <dc:date>2016-02-01T09:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: (7.10) (CMIS Atompub) : are the secondarytypes (dynamic facets) settable at all through CMIS ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325664#M12665</link>
      <description>&lt;P&gt;Modifying secondary types is an optional feature of CMIS and is currently not supported in Nuxeo (&lt;CODE&gt;cmis:secondaryObjectTypeIds&lt;/CODE&gt; is exposed as read-only in the object type definitions).&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:59:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325664#M12665</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-02-01T09:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: (7.10) (CMIS Atompub) : are the secondarytypes (dynamic facets) settable at all through CMIS ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325665#M12666</link>
      <description>&lt;P&gt;Florent,
thanks for your prompt reply.&lt;/P&gt;
&lt;P&gt;I overlooked the read-only attribute for `cmis:secondaryObjectTypeIds'. However there is no CmisConstraintException raised when I try to set the property &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;J.-M.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 10:44:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325665#M12666</guid>
      <dc:creator>J_-M_K_</dc:creator>
      <dc:date>2016-02-01T10:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: (7.10) (CMIS Atompub) : are the secondarytypes (dynamic facets) settable at all through CMIS ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325666#M12667</link>
      <description>&lt;P&gt;Hi Florent,&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 13:19:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325666#M12667</guid>
      <dc:creator>J_-M_K_</dc:creator>
      <dc:date>2016-02-03T13:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: (7.10) (CMIS Atompub) : are the secondarytypes (dynamic facets) settable at all through CMIS ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325667#M12668</link>
      <description>&lt;P&gt;Answering to myself .....&lt;/P&gt;
&lt;P&gt;There is something like that on nuxeo-labs (addFacet operation)  :
(https://github.com/nuxeo/nuxeo-labs)/nuxeo-labs-operations/)&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 14:05:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/7-10-cmis-atompub-are-the-secondarytypes-dynamic-facets-settable/m-p/325667#M12668</guid>
      <dc:creator>J_-M_K_</dc:creator>
      <dc:date>2016-02-03T14:05:03Z</dc:date>
    </item>
  </channel>
</rss>

