<?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 Non-incremental model changes in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90718#M27033</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I understand that custom model changes can be only incremental, like new property definition, but what to do when some major changes are required. I have no problem deleteing everything, but what exactly and how?&lt;/P&gt;&lt;P&gt;So I guess I need to delete DB, content store and index. Is that right? Is there any other (easier) recomendation?&lt;/P&gt;&lt;P&gt;Thnak you!&lt;/P&gt;</description>
    <pubDate>Sat, 10 Oct 2020 14:27:57 GMT</pubDate>
    <dc:creator>darionis</dc:creator>
    <dc:date>2020-10-10T14:27:57Z</dc:date>
    <item>
      <title>Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90718#M27033</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I understand that custom model changes can be only incremental, like new property definition, but what to do when some major changes are required. I have no problem deleteing everything, but what exactly and how?&lt;/P&gt;&lt;P&gt;So I guess I need to delete DB, content store and index. Is that right? Is there any other (easier) recomendation?&lt;/P&gt;&lt;P&gt;Thnak you!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 14:27:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90718#M27033</guid>
      <dc:creator>darionis</dc:creator>
      <dc:date>2020-10-10T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90719#M27034</link>
      <description>&lt;P&gt;You can delete all the document which have your model type,property or aspect from document library as well as&amp;nbsp;trashcan.&lt;/P&gt;&lt;P&gt;After that you can delete your model property.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Oct 2020 04:10:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90719#M27034</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-10-11T04:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90720#M27035</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36939"&gt;@sanjaybandhniya&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;You can delete all the document which have your model type,property or aspect from document library as well as&amp;nbsp;trashcan.&lt;/P&gt;&lt;P&gt;After that you can delete your model property.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am affraid it is not so simple. I did what you suggest but I get&lt;/P&gt;&lt;PRE&gt;WARN (searcherExecutor-21-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.AlfrescoSolrDataModel Model not updated:&lt;BR /&gt; bnk:contentModel Failed to validate model update - found non-incrementally updated PROPERTY &lt;BR /&gt;'{http://company.eu/model/name/1.0}userNumber'&lt;/PRE&gt;&lt;P&gt;It looks like solr synchronization is still complaining about the model change.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:31:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90720#M27035</guid>
      <dc:creator>darionis</dc:creator>
      <dc:date>2020-10-12T15:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90721#M27036</link>
      <description>&lt;P&gt;Another alternative option, if you have content in the repository and you dont want to delete them and re-upload. You can do the following:&lt;/P&gt;
&lt;P&gt;1- Create a webscript (java/js) or use JSConsole to find all the content and remove all the aspects you have applied from your custom model. If you have custom folder types, remove the custom aspects from custom folder in same way.&lt;/P&gt;
&lt;P&gt;2- Change the type of content from custom type you have defined in your content model to cm:content.&amp;nbsp;If you have custom folder types, change the type for custom folder types to cm:folder similarly.&lt;/P&gt;
&lt;P&gt;3- By now, all your content/folders (which had any custom property/aspect/type etc.) would have been removed.&lt;/P&gt;
&lt;P&gt;4- Stop alfresco and solr&lt;/P&gt;
&lt;P&gt;5- Delete indexes and models from solr server&lt;/P&gt;
&lt;P&gt;6- Remove the custom model&lt;/P&gt;
&lt;P&gt;7- Restart the alfresco and solr servers. It will re-create the indexes&amp;nbsp;&lt;/P&gt;
&lt;P&gt;8- Now, deploy updated content model when ready and use the webscript (similiar to step1) and set custom types to content/folder and apply any required aspects.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:34:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90721#M27036</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-10-12T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90722#M27037</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/60007"&gt;@darionis&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36939"&gt;@sanjaybandhniya&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You can delete all the document which have your model type,property or aspect from document library as well as&amp;nbsp;trashcan.&lt;/P&gt;
&lt;P&gt;After that you can delete your model property.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I am affraid it is not so simple. I did what you suggest but I get&lt;/P&gt;
&lt;PRE&gt;WARN (searcherExecutor-21-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.AlfrescoSolrDataModel Model not updated:&lt;BR /&gt; bnk:contentModel Failed to validate model update - found non-incrementally updated PROPERTY &lt;BR /&gt;'{http://company.eu/model/name/1.0}userNumber'&lt;/PRE&gt;
&lt;P&gt;It looks like solr synchronization is still complaining about the model change.&lt;/P&gt;

&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to delete indexes and models too from solr server in case you want to re-create everything.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 15:35:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90722#M27037</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-10-12T15:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90723#M27038</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;wrote:&lt;BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am affraid it is not so simple. I did what you suggest but I get&lt;/P&gt;&lt;PRE&gt;WARN (searcherExecutor-21-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.AlfrescoSolrDataModel Model not updated:&lt;BR /&gt; bnk:contentModel Failed to validate model update - found non-incrementally updated PROPERTY &lt;BR /&gt;'{http://company.eu/model/name/1.0}userNumber'&lt;/PRE&gt;&lt;P&gt;It looks like solr synchronization is still complaining about the model change.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You need to delete indexes and models too from solr server in case you want to re-create everything.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes, deleting SOLR alfresco and archive indexes as well as SOLR models seem to be enough. No need to purge the DB.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 18:35:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90723#M27038</guid>
      <dc:creator>darionis</dc:creator>
      <dc:date>2020-10-29T18:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Non-incremental model changes</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90724#M27039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/60007"&gt;@darionis&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for accepting the solution - really helpful for others to know what worked.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 15:38:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/non-incremental-model-changes/m-p/90724#M27039</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-10-30T15:38:06Z</dc:date>
    </item>
  </channel>
</rss>

