<?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: Incremental custom model in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43196#M17850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could store your model in the Alfresco repo (/Data Dictionary/Models) which can be easily modified from Share-UI or WebDAV but I would not recommend this in production systems. You don't have the same flexibility and how would you implement deployments / lifecycle management, QM? Why not creating traditional spring based models packaged in jars which can be easily deployed by the server team? Of course you need a dev system with server filesystem access to develop and test your changes ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please give an example for the model extensions you want to implement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to implement a shared model (&lt;A href="https://github.com/ecm4u/businessdocumentmodel" title="https://github.com/ecm4u/businessdocumentmodel" rel="nofollow noopener noreferrer"&gt;GitHub - ecm4u/businessdocumentmodel: ecm4u Alfresco Business Document Model&lt;/A&gt;&amp;nbsp;) to be used by as many Alfresco users as possible to avoid the problems you are facing with but we didn't find enough combatants. We should update this model since we already refactored this to a more flexible aproach which allows online changes on generic types referencing relational and/or external data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Nov 2018 15:23:43 GMT</pubDate>
    <dc:creator>heiko_robert</dc:creator>
    <dc:date>2018-11-29T15:23:43Z</dc:date>
    <item>
      <title>Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43186#M17840</link>
      <description>Hello,I'm new at Alfresco and, after Googled alot, i have no solution to my current problem.&amp;nbsp;My situation is that i have custom content model xml file and a cmm file for that model, both generated by a java application. First time is generated, i deploy the zip file to alfresco, activate the model a</description>
      <pubDate>Fri, 23 Nov 2018 12:25:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43186#M17840</guid>
      <dc:creator>javiercasfer</dc:creator>
      <dc:date>2018-11-23T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43187#M17841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably I'm missing something, but re-deploying your new XML Content Model (the one with the new properties) file should be enough. Just overwrite your old XML file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 13:01:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43187#M17841</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-11-23T13:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43188#M17842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for the answer, but it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I deploy the model by the ui, on admin tools &amp;gt; Model management. So, when i try to import the same model but with updated properties, Alfresco says that a model with that name already exists.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:24:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43188#M17842</guid>
      <dc:creator>javiercasfer</dc:creator>
      <dc:date>2018-11-26T11:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43189#M17843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, ok, so you are using Model Manager tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I have no experience with that tool. I'm always using the other content model deployment options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:29:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43189#M17843</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2018-11-26T11:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43190#M17844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Model Management tool should come with a big, red sticker stating "This tool is only good for quick prototyping / test models - it should not be used for anything more serious than that".&lt;/P&gt;&lt;P&gt;In short, the UI does not support importing a model as "an update" to an already active/deployed model. You could technically override the XML file by going via the Repository -&amp;gt; Data Dictionary -&amp;gt; Models folder, but be aware that your XML may be overidden by changes made via the model management tool afterwards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My usual suggestion is to always use the traditional, Spring-based XML bootstrap approach using an extension module (JAR / AMP, whatever you prefer) for serious development use or production.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 11:30:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43190#M17844</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-11-26T11:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43191#M17845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, gonna try it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have a link to any good tutorial of a proyect example?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advice.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 12:46:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43191#M17845</guid>
      <dc:creator>javiercasfer</dc:creator>
      <dc:date>2018-11-26T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43192#M17846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, Jeff Potts' &lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/content/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;tutorial&lt;/A&gt; is a mandatory read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 13:11:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43192#M17846</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-11-26T13:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43193#M17847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 07:18:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43193#M17847</guid>
      <dc:creator>javiercasfer</dc:creator>
      <dc:date>2018-11-27T07:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43194#M17848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just read your post and want to add to your requirement "mechanism to have an active incremental custom model":&lt;/P&gt;&lt;P&gt;Alfresco's document model behaves like a hierachical, NOT like a relational database (or like a bunch of xml documents you write a xml schema for). Altering the type in the document model is not the equivalent of "alter table modify column ...". This means&lt;/P&gt;&lt;P&gt;If you change the document model it is your responsibility to make only changes which are compatible with your already existing content. There is no mechanism to migrate already existing data to comply with your modified model. Even harder: If you use versions it may not be possible to modify (meta) data already stored and you will get into trouble when you don't expect to since Alfresco parses the model on read and write - e.g. when a user tries to show a document in Share UI years after you made the changes on the document model.&lt;/P&gt;&lt;P&gt;To make the long story short: Alfresco has only very limited support for document model changes and you should therefore spend as much analysis as possible to make sure you don't need to change the model.&lt;/P&gt;&lt;P&gt;Over then years after we started with Alfresco document models we have the best practices:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;store as few metadata in Alfresco model as possible and reference metadata from other systems if possible (store only data in alfresco properties which are not stored anywhere else).&lt;/LI&gt;&lt;LI&gt;try to implement a generic model which you don't need to modify&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since we had to reengeneer several Alfresco implementations over the years we created our own lowlevel migration module which is able to migrate all the metadata, types and aspects in any node as a batch routine - even for document versions but this approach shouldn't be used on a regular basis &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 09:55:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43194#M17848</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2018-11-29T09:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43195#M17849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is an odd question but are there any alternatives for model management if you do not have root or admin access to the server? The server teams does not allow&amp;nbsp;the Alfresco support team access to the server. I had hoped Model Manager, and the Model Manager group rights, to help with non-server team model management but we can't use it for the reasons stated above. A vendor installed a Spring-based XML model and if I dare use Model Manager, I'm sure disaster awaits. We're stuck with&amp;nbsp;extending our generic model for various business units that would like additional attributes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 14:43:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43195#M17849</guid>
      <dc:creator>rsclark3</dc:creator>
      <dc:date>2018-11-29T14:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43196#M17850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could store your model in the Alfresco repo (/Data Dictionary/Models) which can be easily modified from Share-UI or WebDAV but I would not recommend this in production systems. You don't have the same flexibility and how would you implement deployments / lifecycle management, QM? Why not creating traditional spring based models packaged in jars which can be easily deployed by the server team? Of course you need a dev system with server filesystem access to develop and test your changes ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please give an example for the model extensions you want to implement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried to implement a shared model (&lt;A href="https://github.com/ecm4u/businessdocumentmodel" title="https://github.com/ecm4u/businessdocumentmodel" rel="nofollow noopener noreferrer"&gt;GitHub - ecm4u/businessdocumentmodel: ecm4u Alfresco Business Document Model&lt;/A&gt;&amp;nbsp;) to be used by as many Alfresco users as possible to avoid the problems you are facing with but we didn't find enough combatants. We should update this model since we already refactored this to a more flexible aproach which allows online changes on generic types referencing relational and/or external data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 15:23:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43196#M17850</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2018-11-29T15:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43197#M17851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First problem is editing an existing content model. I need to add new values to the selection list e.g.,&amp;nbsp;'As-Built' and 'Specifications' so these can be selected. At this point, I can only have a vendor come in and make the change.&lt;/P&gt;&lt;P&gt;Second problem is extending this model to include new properties. I want to add 'Company' as a multi-line text entry later on in this complex model.&lt;/P&gt;&lt;P&gt;The other problem is property layout in a form but that's beyond this question. I had hoped to use Model Manager for all content model attributes but now I'm stuck with engaging expensive consultants to make minor changes as we expand our models for searching.&lt;/P&gt;&lt;P&gt;Ultimately, it would be best if a robust Model Manager was added to Alfresco that allows both file system models to be exposed and new models to be added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/24270_EngCM.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 20:55:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43197#M17851</guid>
      <dc:creator>rsclark3</dc:creator>
      <dc:date>2018-11-29T20:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43198#M17852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, thanks for all the answers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case, your recomendations do not work for me.&lt;/P&gt;&lt;P&gt;What&amp;nbsp;I have is a document manager wich document types have some properties and, maybe, on two or five month, that document type will have two more properties. That could happen to all types i have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need is to import all those documents (only those that are not going to be modified) and import them to Alfresco, to create a historic document storage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After studying what could be the best solution, I think that an aggregation model is the solution. I made a software that can create a model with all properties for all documents extracted and create CMM file for them all, but, in the future, will be more extractions, so I'll need to add all those new properties and types. The old model will be update with the new model generated on the extraction.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be a moment that I'll have an active model that I have to update.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, my questions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Having the model created, wich options do i have to import it to alfresco?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Do I have to create manually all cofigurations files and update them all (config, message, etc) or there is an alternative (like an amp file) to import it automatically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope there is someone in my situation with an answer &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 07:53:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43198#M17852</guid>
      <dc:creator>javiercasfer</dc:creator>
      <dc:date>2018-11-30T07:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43199#M17853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!&lt;/P&gt;&lt;P&gt;I've solved my problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I do is, when I do a content extraction from the source, i generate a model content xml with the types and properties i get. Then I use the xsd definition to compare my old model with my new one and add all new types and properties i have to the new one.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, from may aggregation model (the old updated), i generate my own share-config-custom.xml with the forms and properties I need and model.propreties files. Then, replace these 3 files on my alfresco instalation and restart it. It works perfectly. Keep in mind that these only will work if you don't remove types or properties when you are updating your custom model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe that could help someone. Thanks for all the answers.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:48:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/incremental-custom-model/m-p/43199#M17853</guid>
      <dc:creator>javiercasfer</dc:creator>
      <dc:date>2018-12-05T14:48:00Z</dc:date>
    </item>
  </channel>
</rss>

