<?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: change custom type in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290923#M244053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand correctly then - you have a content type A defined (for example - employee having properties as empid, empjoiningdate)&amp;nbsp; and there are few contents created in alfresco with this type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, you want to define a new content type B (for example - revisedemployee having properties as empid, empjoiningdate, emplocation, empdepartment). Now, you want to have type A content type to have applied all the properties from type B. Do you want to have all the existing contents to become now of type B and hence type A should not be active. Is that correct?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 16:40:00 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2014-04-24T16:40:00Z</dc:date>
    <item>
      <title>change custom type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290919#M244049</link>
      <description>Hi,is possible to change the content type of a content from a custom type to another? What is the WS method?The content types are defined in two different xml files.&amp;lt;code&amp;gt;&amp;lt;property name="models"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;alfresco/extension/customModel1.xml&amp;lt;/</description>
      <pubDate>Thu, 24 Apr 2014 10:08:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290919#M244049</guid>
      <dc:creator>fedemori</dc:creator>
      <dc:date>2014-04-24T10:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: change custom type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290920#M244050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you please elaborate more on your requirement?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 11:20:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290920#M244050</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-04-24T11:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: change custom type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290921#M244051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have some files saved on Alfresco with a custom model x. This custom model x have some properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to update these files with a new custom model y that has some other properties and the two custom models are configurated in two different xml files.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 13:59:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290921#M244051</guid>
      <dc:creator>fedemori</dc:creator>
      <dc:date>2014-04-24T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: change custom type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290922#M244052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can specialize the node to a subclass.&amp;nbsp; However in general you can't change the type of a node since it makes no sense.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AFAIK there is no web service method to change the type of a node.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:09:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290922#M244052</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-04-24T16:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: change custom type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290923#M244053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand correctly then - you have a content type A defined (for example - employee having properties as empid, empjoiningdate)&amp;nbsp; and there are few contents created in alfresco with this type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, you want to define a new content type B (for example - revisedemployee having properties as empid, empjoiningdate, emplocation, empdepartment). Now, you want to have type A content type to have applied all the properties from type B. Do you want to have all the existing contents to become now of type B and hence type A should not be active. Is that correct?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:40:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290923#M244053</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-04-24T16:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: change custom type</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290924#M244054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact alfresco provide the method(setType()) to change type of a node in public service api,but it is not exposed as webservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And this mothod should be used with caution since calling it changes the type of the node and thus implies a different set of aspects, properties and associations.&amp;nbsp; It is the calling codes responsibility to ensure that the node is in a approriate state after changing the type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your old type and new type have most properties aspects and associations in common ,you can give it a try. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise you 'd better iterate every node you want to change type ,create a node with new type ,copy properties/apsects/associations from old node to new node ,then delete old node.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 02:38:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-custom-type/m-p/290924#M244054</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-04-25T02:38:27Z</dc:date>
    </item>
  </channel>
</rss>

