<?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 DotCMIS API to associate a custom type to a document in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287216#M240346</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;We are using the DotCMIS APIs to upload documents to a repository in alfresco. We are able to upload and add the default propertes to the document. We also have some custom types that have already been added into the alfresco environment. When we use the share url and then upload a document manually we can associate the custom type to the document and thereby add the values to the newly added properties that come with the type. We would like to do the same using dotCMIS APIs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you help us to understand alongwith a sample code to associate a document with a custom type, preferably when we upload the document, else after we upload it. So that we can then populate the values of the properties associated with that type using DotCMIS APIs. Incase DotCMIS APIs do not support it then can you please suggest an alternative way to do it. We would need to do it programmatically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate if you could send a sample code that does it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rita Aiyar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jul 2014 06:09:12 GMT</pubDate>
    <dc:creator>rita_aiyar</dc:creator>
    <dc:date>2014-07-17T06:09:12Z</dc:date>
    <item>
      <title>DotCMIS API to associate a custom type to a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287216#M240346</link>
      <description>Hi,We are using the DotCMIS APIs to upload documents to a repository in alfresco. We are able to upload and add the default propertes to the document. We also have some custom types that have already been added into the alfresco environment. When we use the share url and then upload a document manua</description>
      <pubDate>Thu, 17 Jul 2014 06:09:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287216#M240346</guid>
      <dc:creator>rita_aiyar</dc:creator>
      <dc:date>2014-07-17T06:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: DotCMIS API to associate a custom type to a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287217#M240347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Look at the "Creating a Document" example on &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://chemistry.apache.org/dotnet/getting-started-with-dotcmis.html" rel="nofollow noopener noreferrer"&gt;http://chemistry.apache.org/dotnet/getting-started-with-dotcmis.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;this page&amp;lt;/a&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, instead of specifying "cmis:document" as the content type, specify the ID of your custom content type. For example, if you defined a custom type called "sc:whitepaper" then you would specify "D:sc:whitepaper" as the type in your CreateDocument call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To set custom properties, just use the ID of the property. So you might set "sc:clientName" with a value, for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 16:17:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287217#M240347</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-07-17T16:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: DotCMIS API to associate a custom type to a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287218#M240348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works. Thanks a lot for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have another question. Currently in our sample app, we tried uploading files up to 300MB and it worked. But in the real life scenario we would have documents up to 2 - 3 GB in size. Will the CMIS APIs support such large file upload. If not then is there an alternative way to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rita&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 04:25:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287218#M240348</guid>
      <dc:creator>rita_aiyar</dc:creator>
      <dc:date>2014-07-23T04:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: DotCMIS API to associate a custom type to a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287219#M240349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;CMIS 1.1 supports the ability to append a content stream. So you could essentially buffer your write by breaking your upload into chunks and then calling append content stream with each chunk, see &lt;/SPAN&gt;&lt;A href="http://chemistry.apache.org/java/0.11.0/maven/apidocs/org/apache/chemistry/opencmis/server/impl/browser/ObjectService.AppendContentStream.html" rel="nofollow noopener noreferrer"&gt;http://chemistry.apache.org/java/0.11.0/maven/apidocs/org/apache/chemistry/opencmis/server/impl/browser/ObjectService.AppendContentStream.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because this is CMIS 1.1 you must use Alfresco 4.2 or higher for this to work.&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, 30 Jul 2014 03:58:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287219#M240349</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-07-30T03:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: DotCMIS API to associate a custom type to a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287220#M240350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using DotCMIS that i downloaded 2 weeks back and the alfresco version that we are using is 4.2.2 However I don't get the option document.appendContentStream &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea what i am missing? Does DotCMIS support this feature? We are trying to consume Alfresco in our dotnet application and hence using DotCMIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rita&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 10:27:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287220#M240350</guid>
      <dc:creator>rita_aiyar</dc:creator>
      <dc:date>2014-07-30T10:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: DotCMIS API to associate a custom type to a document</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287221#M240351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I may be that the DotCMIS library hasn't been updated for CMIS 1.1 yet. If you are using 4.2.2 the server supports it. The worst case is that you could use the lower-level binding to invoke it directly. If you want to learn more about it by reading the spec, start &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.oasis-open.org/cmis/CMIS/v1.1/os/CMIS-v1.1-os.html#x1-150008" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/cmis/CMIS/v1.1/os/CMIS-v1.1-os.html#x1-150008&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;here&amp;lt;/a&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Aug 2014 12:30:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dotcmis-api-to-associate-a-custom-type-to-a-document/m-p/287221#M240351</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-08-09T12:30:09Z</dc:date>
    </item>
  </channel>
</rss>

