<?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: Content migration into specialized types in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310487#M263617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The object type ID is a property like any other. So you can use CMIS to update it to set it to your custom type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using OpenCMIS, which is a Java CMIS library, it would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CmisObject obj = …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, Object&amp;gt; updateProperties = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;updateProperties.put(PropertyIds.OBJECT_TYPE_ID, "D:sc:whitepaper"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;obj.updateProperties(updateProperties);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to use a library like OpenCMIS (or its equivalent in another language) you can use the AtomPub binding directly. You can read the CMIS spec for info on how to update properties via the raw binding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Nov 2015 18:19:45 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2015-11-13T18:19:45Z</dc:date>
    <item>
      <title>Content migration into specialized types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310486#M263616</link>
      <description>Hello - I am new to Alfresco and I have the responsibility of migrating content into newly created Alfresco (5.0.1) specialized types within our Alfresco environment. My questions is how can I migrate data to these specialized types via the REST API?</description>
      <pubDate>Thu, 12 Nov 2015 13:17:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310486#M263616</guid>
      <dc:creator>javadevtech</dc:creator>
      <dc:date>2015-11-12T13:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Content migration into specialized types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310487#M263617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The object type ID is a property like any other. So you can use CMIS to update it to set it to your custom type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using OpenCMIS, which is a Java CMIS library, it would be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CmisObject obj = …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, Object&amp;gt; updateProperties = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;updateProperties.put(PropertyIds.OBJECT_TYPE_ID, "D:sc:whitepaper"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;obj.updateProperties(updateProperties);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to use a library like OpenCMIS (or its equivalent in another language) you can use the AtomPub binding directly. You can read the CMIS spec for info on how to update properties via the raw binding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 18:19:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310487#M263617</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2015-11-13T18:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Content migration into specialized types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310488#M263618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think CMIS might be a bit too much for what i am trying to do. All I need to do is bulk add some documents and metadata to Alfreso in a one time push. CMIS seems like something that I would use if I wanted an ongoing connection from one CMS to another CMS. Can I use the SOAP or REST API to add content to these specialized types?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 00:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/content-migration-into-specialized-types/m-p/310488#M263618</guid>
      <dc:creator>javadevtech</dc:creator>
      <dc:date>2015-11-16T00:08:00Z</dc:date>
    </item>
  </channel>
</rss>

