<?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: CmisObjectNotFoundException: Type is unknown in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cmisobjectnotfoundexception-type-is-unknown/m-p/289737#M242867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you can only use one type at a time, since your document type is implementing inheritance; it would be proper to only use &amp;lt;b&amp;gt;D:salo:lodocument&amp;lt;/b&amp;gt; as the type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So your code should look something like this &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cmisDocumentProperties.put(PropertyIds.OBJECT_TYPE_ID, "D:salo:mlodocument");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;All the properties that follow the inheritance will be added to the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark post as useful if this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Mar 2016 10:48:40 GMT</pubDate>
    <dc:creator>darkredd</dc:creator>
    <dc:date>2016-03-15T10:48:40Z</dc:date>
    <item>
      <title>CmisObjectNotFoundException: Type is unknown</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmisobjectnotfoundexception-type-is-unknown/m-p/289736#M242866</link>
      <description>My environment and details are:CMIS libraries and APIhttp://vm-alfresco:8080/alfresco/api/-default-/public/cmis/versions/1.1/atomI also tried with CMIS 1.0 URL&amp;lt;dependency&amp;gt;&amp;nbsp; &amp;lt;groupId&amp;gt;org.apache.chemistry.opencmis&amp;lt;/groupId&amp;gt;&amp;nbsp; &amp;lt;artifactId&amp;gt;chemistry-opencmis-client-api&amp;lt;/artifac</description>
      <pubDate>Thu, 10 Mar 2016 23:38:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmisobjectnotfoundexception-type-is-unknown/m-p/289736#M242866</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2016-03-10T23:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: CmisObjectNotFoundException: Type is unknown</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cmisobjectnotfoundexception-type-is-unknown/m-p/289737#M242867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you can only use one type at a time, since your document type is implementing inheritance; it would be proper to only use &amp;lt;b&amp;gt;D:salo:lodocument&amp;lt;/b&amp;gt; as the type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So your code should look something like this &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;cmisDocumentProperties.put(PropertyIds.OBJECT_TYPE_ID, "D:salo:mlodocument");&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;All the properties that follow the inheritance will be added to the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark post as useful if this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 10:48:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cmisobjectnotfoundexception-type-is-unknown/m-p/289737#M242867</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2016-03-15T10:48:40Z</dc:date>
    </item>
  </channel>
</rss>

