<?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 How to manage the custom models using model manager in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79590#M24731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have custom model defined, say commonModel.xml which has been placed into alfresco\extension\custom folder in the installation.&lt;/P&gt;&lt;P&gt;The model has several custom types defined. One of the property, say common:keywords has a list of allowed values. This list is defined with a constraint as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;constraints&amp;gt;&lt;BR /&gt; &amp;lt;constraint name="common:keywordsList" type="LIST"&amp;gt;&lt;BR /&gt; &amp;lt;parameter name="allowedValues"&amp;gt;&lt;BR /&gt; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;contactus&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;mobile&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;value&amp;gt;newsletters&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;value&amp;gt;order_status&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;value&amp;gt;other&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/list&amp;gt;&lt;BR /&gt; &amp;lt;/parameter&amp;gt;&lt;BR /&gt; &amp;lt;/constraint&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This list keeps on growing and new keywords need to be added whenever we have requirement. Every time we have to go and modify this model and restart alfresco. Instead if we have a way to manage this model via share UI it would be easy to add the keywords whenever necessary. Even a business person can go and add the keywords.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any approach to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 20:52:56 GMT</pubDate>
    <dc:creator>udayakumar_p</dc:creator>
    <dc:date>2018-02-20T20:52:56Z</dc:date>
    <item>
      <title>How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79590#M24731</link>
      <description>We have custom model defined, say commonModel.xml which has been placed into alfresco\extension\custom folder in the installation.The model has several custom types defined. One of the property, say common:keywords has a list of allowed values. This list is defined with a constraint as below.&amp;lt;con</description>
      <pubDate>Tue, 20 Feb 2018 20:52:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79590#M24731</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-02-20T20:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79591#M24732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option is to use a dynamic list, that can be managed by an Alfresco admin, in Share admin interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Redpill-Linpro/alfresco-listmanager" title="https://github.com/Redpill-Linpro/alfresco-listmanager" rel="nofollow noopener noreferrer"&gt;GitHub - Redpill-Linpro/alfresco-listmanager: Component used to manage custom list of values used in metadata forms.&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 21:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79591#M24732</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-02-20T21:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79592#M24733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the prompt response. Can it be used for multi select list? I see that the field control is mentioned as&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 16px; padding: 16px;"&gt;&lt;CODE style="background: transparent; border: 0px;"&gt;customselectone.ftl&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 22:15:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79592#M24733</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-02-20T22:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79593#M24734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just used it with customselectone... but try it with other ftl component, surely it is not difficult to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 16:02:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79593#M24734</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2018-02-21T16:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79594#M24735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have been using our own addon for this kind of problem:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/dgcloud/alfresco-value-assistance" title="https://github.com/dgcloud/alfresco-value-assistance" rel="nofollow noopener noreferrer"&gt;GitHub - dgcloud/alfresco-value-assistance: Configurable value assistance module for Alfresco Share that allows picklist…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With it, you can use the multi-select list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 20:24:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79594#M24735</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-22T20:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79595#M24736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks. Can you explain how to use this add-on? There is no mention of how to create a custom data list.&lt;/P&gt;&lt;P&gt;Also it seem to be useful for dynamic dropdown, how do we use it for multi select list?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 20:48:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79595#M24736</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-02-22T20:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79596#M24737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe all the information you need is available in the project's page.&lt;/P&gt;&lt;P&gt;In order to create the datalist driven the control, you have to use the normal Data Lists form inside the Share site.&lt;/P&gt;&lt;P&gt;There is nothing different on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use the multi-select component, all you have to do is to set the form control as&amp;nbsp;dynamic-selectmany.ftl&amp;nbsp;instead of&amp;nbsp;dynamic-dropdown.ftl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 12:20:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79596#M24737</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-02-23T12:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79597#M24738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue using this list manager. I tried to get a response from the forum but nobody replied to it.&amp;nbsp; Here is the link to the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Redpill-Linpro/alfresco-listmanager/issues/10" title="https://github.com/Redpill-Linpro/alfresco-listmanager/issues/10" rel="nofollow noopener noreferrer"&gt;Issue while creating list · Issue #10 · Redpill-Linpro/alfresco-listmanager · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where should we place the amp file? into amps folder or amps_share folder?&lt;BR /&gt;Also where should the jar file be put? I put it under tomcat/shared/classes but the link does not appear in share UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 17:28:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79597#M24738</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-03-06T17:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79598#M24739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know the addon, and I don't know what amp files you are talking about, but if it is following the way most of the addons are built, you must have 2 files, one named something with alfresco/repo and the other one as share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the first one, you have to put it inside the amps folder, and for the second one, inside the amps_share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually, when the addon provides amps, there are no jars to be deployed. You use the amps or the jars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But putting the amps files inside of those folders is not enough.&lt;/P&gt;&lt;P&gt;With the files in there, you have to stop your Alfresco server, and then use the apply_amps script you will find inside the &amp;lt;alfresco_install_folder&amp;gt;/bin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute it, and then start Alfresco again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 18:13:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79598#M24739</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-03-06T18:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79599#M24740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks. but for the mentioned add on there is only one amp file(listmanager-amp-1.5.2.amp) and one jar file. I put the amp file into amps_share and ran the&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;apply_amps script as you mentioned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;We are able to see the list but we are not able to create anything.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 18:22:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79599#M24740</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-03-06T18:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79600#M24741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&amp;nbsp;reading the information provided into the project's page:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;to build and install the artifact in your local Maven repository.&lt;/P&gt;&lt;P&gt;The output is one amp-file to be installed into the repository part of your Alfresco installation and one jar-file that is needed by Alfresco Share.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You have to put the amp file inside the amps folder (repository part).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the jar:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;otherwise drop the jar-file in to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;CODE style="color: #24292e; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em;"&gt;tomcat/shared/classes&lt;/CODE&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of your installation and install the amp with the mmt-tool.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Put the jar file in the mentioned path, &amp;lt;alfresco_install_folder&amp;gt;/tomcat/shared/classes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I believe there must be something wrong with the latest instruction, as jars usually go inside the&amp;nbsp;&lt;SPAN&gt;&amp;lt;alfresco_install_folder&amp;gt;/tomcat/shared/lib, but you should try the way the author tells you to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 19:10:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79600#M24741</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-03-06T19:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79601#M24742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. Able to make it work. It does not work when I placed the jar into &lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;/tomcat/shared/classes&amp;nbsp;&lt;/SPAN&gt;worked only when i placed it into&amp;nbsp;/tomcat/endorsed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i faced the following exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patch.migrateFromNameToTitlePatch' defined in class path resource [alfresco/module/listmanager-amp/context/service-context.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:&lt;BR /&gt;PropertyAccessException 1: org.springframework.beans.MethodInvocationException: Property 'targetSchema' threw exception; nested exception is java.lang.IllegalArgumentException: 'targetSchema' must be greater than 'fixesToSchema'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fixed it by randomly changing the value of&amp;nbsp;&lt;SPAN&gt;fixesToSchema to 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:42:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79601#M24742</guid>
      <dc:creator>udayakumar_p</dc:creator>
      <dc:date>2018-03-06T20:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage the custom models using model manager</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79602#M24743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice to hear it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I guess you should try to put the jar file in the path I mentioned on my previous answer:&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&amp;lt;alfresco_install_folder&amp;gt;/tomcat/shared/lib&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 20:52:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-the-custom-models-using-model-manager/m-p/79602#M24743</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2018-03-06T20:52:46Z</dc:date>
    </item>
  </channel>
</rss>

