<?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 change the namespace prefix of the content model that is already in use in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50295#M19281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sergio, for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am planning to do this way but&amp;nbsp;due to versioning, the content store will be increased&amp;nbsp;by 1.5 TB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2019 19:30:37 GMT</pubDate>
    <dc:creator>sjoshee</dc:creator>
    <dc:date>2019-02-08T19:30:37Z</dc:date>
    <item>
      <title>How to change the namespace prefix of the content model that is already in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50292#M19278</link>
      <description>I have the custom content model with the namespace (rma:model) and the namespace prefix "rma". This model is used by more than a million documents.&amp;nbsp; Alfresco record management uses the "rma" namespace prefix. Because of the namespace prefix collision, I am not able to install the RM Module 2.5.2 in</description>
      <pubDate>Fri, 08 Feb 2019 05:38:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50292#M19278</guid>
      <dc:creator>sjoshee</dc:creator>
      <dc:date>2019-02-08T05:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the namespace prefix of the content model that is already in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50293#M19279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Suresh Joshee&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem which you describe in this post is very critical. First of all, you have to make a full backup of you contentstore, database, alfresco-global.properties and war files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it isn’t good idea update manually the namespace in database. Probably you will have inconsistent data and Alfresco crashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should duplicate all your model. For example, if you have a type named rma:mytype, you should create another named uarma:mytype.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, you should install the new model and you should decelop a javascript script for migrate nodes from “old type” to “new type”. &amp;nbsp;In this script, you should copy all of properties from old node to new node and delete old node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you finish this task, you can remove elenents with namespace rma from your model and install new version of your custom module. Before that, please be sure that nodes with rma namespace don’t remain in your Alfresco.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope my answer can be useful for you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sergio.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 07:16:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50293#M19279</guid>
      <dc:creator>sercama</dc:creator>
      <dc:date>2019-02-08T07:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the namespace prefix of the content model that is already in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50294#M19280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since Alfresco does not store the prefix for a namespace in the database, it&amp;nbsp;should actually be quite simple to change the prefix (unless you are using the Content Model Manager).&amp;nbsp;Simply modify your model&amp;nbsp;definition XML to use a different prefix for the affected namespace and restart your Alfresco server with the new model XML. Since prefixes are resolved at runtime using the database stored namespace and the model provided prefix, Alfresco should now transparently use the new prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All existing code / rules / non-standard config and property values that might store a qualified name (QName) with the old prefix need to be found and modified to adapt to the prefix change&lt;/LI&gt;&lt;LI&gt;You will have to delete your existing SOLR index, model and content caches to trigger a full index rebuild, otherwise any searches will not work correctly and SOLR will most likely stop indexing any changes&lt;/LI&gt;&lt;LI&gt;Existing audit data will not be updated transparently and continue to show the old (conflicting) prefix&lt;/LI&gt;&lt;LI&gt;All of this should be tried and tested first in a dev / test environment, obviously&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 10:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50294#M19280</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-02-08T10:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the namespace prefix of the content model that is already in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50295#M19281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sergio, for your quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am planning to do this way but&amp;nbsp;due to versioning, the content store will be increased&amp;nbsp;by 1.5 TB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 19:30:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50295#M19281</guid>
      <dc:creator>sjoshee</dc:creator>
      <dc:date>2019-02-08T19:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the namespace prefix of the content model that is already in use</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50296#M19282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try this and let you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 19:32:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-the-namespace-prefix-of-the-content-model-that-is/m-p/50296#M19282</guid>
      <dc:creator>sjoshee</dc:creator>
      <dc:date>2019-02-08T19:32:31Z</dc:date>
    </item>
  </channel>
</rss>

