<?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 Update custom-model in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298371#M251501</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;SPAN&gt;I would like update a custom model and i would like remove or add some properties. In alfresco repository there are some file that use mine custom model. How can i update files in the repository? I need to reindex solr when i edit the custom model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 09:30:44 GMT</pubDate>
    <dc:creator>monocromo</dc:creator>
    <dc:date>2013-04-10T09:30:44Z</dc:date>
    <item>
      <title>Update custom-model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298371#M251501</link>
      <description>Hi, I would like update a custom model and i would like remove or add some properties. In alfresco repository there are some file that use mine custom model. How can i update files in the repository? I need to reindex solr when i edit the custom model?Thanks</description>
      <pubDate>Wed, 10 Apr 2013 09:30:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298371#M251501</guid>
      <dc:creator>monocromo</dc:creator>
      <dc:date>2013-04-10T09:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Update custom-model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298372#M251502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can only remove properties safely and without side-effects if no nodes in any of Alfrescos stores uses the affected properties. Otherwise, you need to update your model in a two-step process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 1: Write and execute a patch (subclass of AbstractPatch or AbstractModuleComponent, using Alfresco Java API) or a SQL script to remove the obsolete property values from the database (maybe map them onto some new properties that you can safely add in this step).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 2: Deploy updated model with obsolete properties removed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You only need to perform a reindex if you chose to remove the old properties via a SQL script. If you remove them via the appropriate NodeService API in step 1, SOLR will automatically index these changes and there is no need for a full reindex.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 11:47:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298372#M251502</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-04-10T11:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update custom-model</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298373#M251503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, for the reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 15:08:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/update-custom-model/m-p/298373#M251503</guid>
      <dc:creator>monocromo</dc:creator>
      <dc:date>2013-04-10T15:08:51Z</dc:date>
    </item>
  </channel>
</rss>

