<?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: How to update a Content Model in use in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147917#M39134</link>
    <description>&lt;P&gt;Thanks Abhinav, I will try your solution&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2022 08:30:07 GMT</pubDate>
    <dc:creator>MicheleTerlizzi</dc:creator>
    <dc:date>2022-04-20T08:30:07Z</dc:date>
    <item>
      <title>How to update a Content Model in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147915#M39132</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i created a custom model type using the "Model Manager" in Alfresco 7.0 Community Edition. After the creation of the model, I downloaded the zip file to set the tokenized property=true. Then i reuploaded the zip file model and now it is in use and a related "custom search" has been developed and everything is working well.&lt;/P&gt;&lt;P&gt;Sometimes may occur to update a content model (in use) by adding some new properties which needs to be tokenizible too. So I cannot deactivate the "in use" model. Which is the best procedure to update?&lt;/P&gt;&lt;P&gt;Any help is appreciated,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Michele&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 09:49:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147915#M39132</guid>
      <dc:creator>MicheleTerlizzi</dc:creator>
      <dc:date>2022-04-19T09:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to update a Content Model in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147916#M39133</link>
      <description>&lt;P&gt;Model Manager is a tool usually for BA's and learners to play around with content modeling. It is not a recommended approach to define the model to be used in production as it has its own limitations.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For incremental changes (as a better practice), you also need to update the model version that is part of the content model and redeploy. See example:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/model/contentModel.xml#L10" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/model/contentModel.xml#L10&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Same way, an active model can't be edited/updated. &lt;A href="https://docs.alfresco.com/content-services/latest/config/models/#manage-content-models" target="_self" rel="nofollow noopener noreferrer"&gt;You have to deactivate in order to update it&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The recommended approach for regular development is to use content model bootstrapping. Take a look at this doc:&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/content-model/#definedeploy" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/content-model/#definedeploy&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;With boostrapping approach you can re-deploy the updated model from backend (there may be a down time depending on your setup). Note that any boostrapped models are not visible in model manager.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 16:09:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147916#M39133</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-04-19T16:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to update a Content Model in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147917#M39134</link>
      <description>&lt;P&gt;Thanks Abhinav, I will try your solution&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 08:30:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-update-a-content-model-in-use/m-p/147917#M39134</guid>
      <dc:creator>MicheleTerlizzi</dc:creator>
      <dc:date>2022-04-20T08:30:07Z</dc:date>
    </item>
  </channel>
</rss>

