<?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 Correctly removing content types and properties in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300811#M253941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have multiple changes I want made to an active content model with many files using this model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I were to just edit out the property from the model from what I have read i'm assuming that this will cause problems?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So would deleting all active instances of a property either manually or with a script and then removing the property from the xml be safe enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't afford for any data corruption or alfresco problems caused by this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For now i'm going to just strip it from the share config so its not visible but I will eventually need to remove the redundant metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice or experience dealing with a situation like this would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 20:44:15 GMT</pubDate>
    <dc:creator>tomoconnell</dc:creator>
    <dc:date>2013-10-24T20:44:15Z</dc:date>
    <item>
      <title>Correctly removing content types and properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300811#M253941</link>
      <description>I have multiple changes I want made to an active content model with many files using this model. If I were to just edit out the property from the model from what I have read i'm assuming that this will cause problems?So would deleting all active instances of a property either manually or with a scri</description>
      <pubDate>Thu, 24 Oct 2013 20:44:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300811#M253941</guid>
      <dc:creator>tomoconnell</dc:creator>
      <dc:date>2013-10-24T20:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly removing content types and properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300812#M253942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From my experience, deleting things from the content model can be very problematic.&amp;nbsp; If you're going to delete a property from a type, you would need to delete all nodes created of that type prior to reinstalling your model, which I'm guessing is not possible in your system.&amp;nbsp; Similarly, if you're deleting a property from an aspect, you would need to remove that aspect from any nodes that currently have it applied prior to reinstalling your model.&amp;nbsp; Also probably not an option.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only other alternative is to hide that property from the user interface, which it sounds like you've already done.&amp;nbsp; Because deleting items from the model is so problematic, I usually take the approach of starting small when I create a new model and then add things as I need them, rather than adding everything that I think I'll need up from and then wishing that I could delete them down the road.&amp;nbsp; Adding to your model is much safer than removing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also beware of setting an aspect as mandatory on a type after objects of that type have already been created.&amp;nbsp; I messed up a repository pretty badly a while back by doing this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You also should keep in mind what model changes might do to your index.&amp;nbsp; Depending on the type of change you're making, you may need to do a full reindex after making your model updates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 21:00:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300812#M253942</guid>
      <dc:creator>parzgnat</dc:creator>
      <dc:date>2013-10-24T21:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly removing content types and properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300813#M253943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"Also beware of setting an aspect as mandatory on a type after objects of that type have already been created. I messed up a repository pretty badly a while back by doing this."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK this is what I was just about to do on a dev system; your quick reply most likely has saved me a lot of time and grief. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess for now this means I can't do the changes I want easily. Adding mandatory aspects to an active model could maybe be an option if I were to apply those aspects first to all data currently using that model? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 21:12:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300813#M253943</guid>
      <dc:creator>tomoconnell</dc:creator>
      <dc:date>2013-10-24T21:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly removing content types and properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300814#M253944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm guessing that making it mandatory after you apply the aspect to any existing objects will not be a problem, but I've never tried.&amp;nbsp; Definitely test in your DEV system first.&amp;nbsp; I don't think it will hurt to try… if you get model bootstrap errors after adding the mandatory aspect, you should just be able to back out the change.&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 22:14:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300814#M253944</guid>
      <dc:creator>parzgnat</dc:creator>
      <dc:date>2013-10-24T22:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Correctly removing content types and properties</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300815#M253945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks again for your reply Parzgnat.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"If you're going to delete a property from a type, you would need to delete all nodes created of that type prior to reinstalling your model"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if this is regardless of if the property is blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So lets say I have a type and it has a bunch of different text properties. If I wanted to remove one of the properties, and I went through and cleared this property in all the node instances of that type; would this be enough.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or as you said would I need to completely remove every single node using that type regardless of if the specific property is blank or filled out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 23:01:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/correctly-removing-content-types-and-properties/m-p/300815#M253945</guid>
      <dc:creator>tomoconnell</dc:creator>
      <dc:date>2013-10-24T23:01:38Z</dc:date>
    </item>
  </channel>
</rss>

