<?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: Editing active model in Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280329#M233459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;ThomasZ _&lt;/B&gt;​ the Alfresco documentation talks about editing your aspects fields information and properties. This is always possible.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #727174; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I know, it has to be some solution, because I don't believe, that Alfresco doesn't allow to make changes in such important to change things like that&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Well, welcome to Alfresco &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; It's sucks big time for a dev, but i think that this is also one of the things, that makes Alfresco a stable Framework/DMS. This way you will not - and one should not - end up screwing around directly in the Database like ones does with many proprietary systems. Alfresco should be more clear and open about this, since this is imho not a bad thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2016 09:26:51 GMT</pubDate>
    <dc:creator>4f2e4a2e</dc:creator>
    <dc:date>2016-10-27T09:26:51Z</dc:date>
    <item>
      <title>Editing active model in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280325#M233455</link>
      <description>How to edit active model in Alfresco? I know, my aspects will be changed during the life of repository, and when I go into model manager, I wanto edit some data, for example type of data, I can't do it without deactivating a model. And I can't deactivate the model, when it is in use (so if any file</description>
      <pubDate>Tue, 25 Oct 2016 12:06:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280325#M233455</guid>
      <dc:creator>tomekszy</dc:creator>
      <dc:date>2016-10-25T12:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Editing active model in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280326#M233456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomasz:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until I can say, no editions are possible when a content model is active dynamically - including model manager (or activated in /Data Dictionary/Models). For editing a non-bootstrap model, you have to deactivate the model. And yes, you can not deactivate if you have existing data. So you would have to delete or migrate the existing data....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a caveat for this, stopping alfresco service, then localizing your model in alf_data/contentstore, for example grep-ing some property of your content model or based on the date of the creation of the xml, and edit directly there.... Then restart the alfresco service and pray (do not try in production first, please). Be aware besides, &lt;STRONG&gt;that only incremental changes are allowed&lt;/STRONG&gt; for content models. You can not change data types of the existing properties in the content model, you can not rename property names or change the existing indexation properties. No problem if you plan to &lt;STRONG&gt;** add **&lt;/STRONG&gt; new aspects, new types, new properties, new constraints...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have to do, you need some kind of migration plan from your initial data to the new model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 14:27:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280326#M233456</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2016-10-25T14:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Editing active model in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280327#M233457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply, so I assume, I just will add a new aspects if I need to change some data.&lt;/P&gt;&lt;P&gt;But, in Alfresco docomentation (&lt;A href="http://docs.alfresco.com/5.1/tasks/admintools-custom-type-edit.html" title="http://docs.alfresco.com/5.1/tasks/admintools-custom-type-edit.html" rel="nofollow noopener noreferrer"&gt;Editing custom types and aspects | Alfresco Documentation)&lt;/A&gt; there is information:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN class="ph cmd" style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;Edit the relevant properties.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="ph cmd" style="color: #58595b; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px;"&gt;&lt;/SPAN&gt;&lt;STRONG&gt;(...)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG class="ph b"&gt;For aspects:&lt;/STRONG&gt; For an inactive model, you can edit all the fields except &lt;SPAN class="ph uicontrol" style="font-weight: bold;"&gt;Name&lt;/SPAN&gt;. If a model is active, you can edit all the fields except for &lt;SPAN class="ph uicontrol" style="font-weight: bold;"&gt;Name&lt;/SPAN&gt; and &lt;SPAN class="ph uicontrol" style="font-weight: bold;"&gt;Parent Aspect&lt;/SPAN&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And if my model is active, it isn't true, that I can edit ALL fields exept name and parent aspect. In fact, on my instance I can ONLY edit Restrictions, and List of Values. Why is that? I don't need to change name nor parent aspect, but if I could edit other fields, like it is written in documentation, it will be a solution for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is: How to edit all values exept name and parent aspect in active model, like it is described in documentation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:15:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280327#M233457</guid>
      <dc:creator>tomekszy</dc:creator>
      <dc:date>2016-10-26T09:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Editing active model in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280328#M233458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Tomasz Szymański&lt;/B&gt; &lt;/P&gt;&lt;P&gt;Yes, I agree with you that the documentation is not that clear, but as &lt;B&gt;Cesar Capillas&lt;/B&gt;​ already said, there is no way to change the data type of a property.&lt;/P&gt;&lt;P&gt;Reviewing the docs, what I think they meant by "you can edit all the fields" is that you can edit the Display Label and the Description fields. Those are aspect's properties.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="mm-ct4.png" class="image-1 jive-image" src="https://docs.alfresco.com/sites/docs.alfresco.com/files/public/images/docs/default5_1/mm-ct4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Properties, the other concept you can think as columns in a table, is another topic. Properties also have properties, like name, type, default values.&lt;/P&gt;&lt;P&gt;Those can not be changed in any way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 17:38:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280328#M233458</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2016-10-26T17:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Editing active model in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280329#M233459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;ThomasZ _&lt;/B&gt;​ the Alfresco documentation talks about editing your aspects fields information and properties. This is always possible.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;SPAN style="color: #727174; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;I know, it has to be some solution, because I don't believe, that Alfresco doesn't allow to make changes in such important to change things like that&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Well, welcome to Alfresco &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; It's sucks big time for a dev, but i think that this is also one of the things, that makes Alfresco a stable Framework/DMS. This way you will not - and one should not - end up screwing around directly in the Database like ones does with many proprietary systems. Alfresco should be more clear and open about this, since this is imho not a bad thing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 09:26:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280329#M233459</guid>
      <dc:creator>4f2e4a2e</dc:creator>
      <dc:date>2016-10-27T09:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Editing active model in Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280330#M233460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The documentation is not clear at this point (there are few things to do if a model is active) and I would like to have a solution from Alfresco too &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;, but when clients told me about changing customized content models with existing data in a non incremental way, I always talk about "a similar situation" in development (saving some distances). When you need to change column names and data types in a custom database table. Your existing data is not coherent yet, your custom app stops working, your app code needs to change, your table schema needs to be migrated and the existing data in the database too. The model manager helps to raise these questions, since some time ago mainly reserved to developers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 12:00:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/editing-active-model-in-alfresco/m-p/280330#M233460</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2016-10-27T12:00:32Z</dc:date>
    </item>
  </channel>
</rss>

