<?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: Dynamic Model in 2.9C not working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168912#M122334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Janv&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your quick response and help. If I understood correctly, if I want to have a common set of types and then for a set of tenants, I want to have a specialized set of types, I must introduce the first set of types in the super tenant Data Dictionary Models /Web Client Extension with a name (customModel.xml and web-client-custom-config.xml) and then in each tenant in the Data Dictionary – Models /Web Client Extension I can create another customModelTenant.xml and web-cilent-config-custom-Tenant.xml…. will it work this way???.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example in the super Tenant Data Dictionary I have the web-client-custom-config.xml configured in the way that only Enligsh ad Spanish are the available languages and also the way the custom&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ropietario, custom:Localizacion types are defined, and then in the tenant I will have the customModelTenant.xml file with the specific types and the web-client-config-custom-Tenant.xml file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will it work?? also, what about the web-client-custom-config.xml file in tomcat\shared\classes\alfresco\extension shall I remove it? and what about the custom-model-context.xml? do I need any (in path, supertenant data dictionary…, tenant data dictionary?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried just using the customModel.xml and web-client-config-custom.xml I have, in the tenant data dictionary, none in the path none in the super tenant but still did not get it to work… Could you detail me plesae where did you place (space names/file names) the files or how you did it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2008 11:47:28 GMT</pubDate>
    <dc:creator>jlabuelo</dc:creator>
    <dc:date>2008-06-17T11:47:28Z</dc:date>
    <item>
      <title>Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168907#M122329</link>
      <description>Good Afternoon allI am trying something in my MultyTenant&amp;nbsp; 2.9C Alfresco configuration over my Windows XP machine. I have the nightly built from March 2008, and what I am trying to do is add a generic set of custom Types in the SuperAdmin (single tenant configuration) so all the tenants created over</description>
      <pubDate>Sun, 15 Jun 2008 20:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168907#M122329</guid>
      <dc:creator>jlabuelo</dc:creator>
      <dc:date>2008-06-15T20:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168908#M122330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;At this moment I am getting error messages when starting the server, …&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;What error message are you seeing ? Have you tried the 2.9.0C-dev build available from: &lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/downloads/nightly/dist/" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/downloads/nightly/dist/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;…but I would like to know if what I am trying is possible before continuing with this test.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it should be possible, although you may wish to upload the shared model into the super tenant data dictionary (rather than use the classpath). If you still see the same error message with the latest 2.9.0C-dev build then please raise a JIRA with steps to repeat and attach examples of your model definitions and client config.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 09:29:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168908#M122330</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2008-06-16T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168909#M122331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Janv&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can confirm that the configuration using Dynamic Models does not work for us in 2.9.0C &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have created 4 example files, 2 customModel.xml and 2 web-cling-config-custom.xml, a couple of customModel.xml and web-client-config-custom.xml are stored in the Super Tenant Data Dictionary in the Models folder and in the Web Client Extension folder. This is because these files contain common files to all the tenants.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we have also created other 2 files (customModel.xml and web-client-config-custom.xml) files containing only types related to a tenant, so we have placed them in the tenant Data Dictionary also in Models and in Web Client Extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that by doing this, this way, we are not able to use the types at all (common and "types for tenant" ones), however if we place the customModel.xml and the web-client-config-custom.xml files in \tomcat\shared\classes\alfresco\extension they work ok and we are able to use the types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your last post you said I should raise a defect in Jira for this. I will do it right the way as this is quite important for us. We have the last nightly build&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let us know what can be done, as if not in each of the tenants we have created we will have to include in the generic path the types, and the Advanced Search will be quite a mess&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS (We did not place any custom-model-context.xml file in any space, shall we do it? and if so, where????) thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 16:42:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168909#M122331</guid>
      <dc:creator>jlabuelo</dc:creator>
      <dc:date>2008-06-16T16:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168910#M122332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created a BUG ALFCOM-1765&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2008 16:51:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168910#M122332</guid>
      <dc:creator>jlabuelo</dc:creator>
      <dc:date>2008-06-16T16:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168911#M122333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the feedback and example test case. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note that a tenant-specific model will override a shared model that has the same name (in your case, "custom:customModel") by effectively replacing it. Similarly for web client config. Hence, if you wish to continue to expose the two common types ("custom:Localizacion" and "custom&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ropietario") within this particular tenant, then these will need to appear in your tenant-specific model and also be merged into your tenant-specific web client config. I made the changes locally and tested with 2.9.0C-dev, and this then works as expected. I will set the issue to resolved, pending further details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 09:13:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168911#M122333</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2008-06-17T09:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168912#M122334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Janv&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your quick response and help. If I understood correctly, if I want to have a common set of types and then for a set of tenants, I want to have a specialized set of types, I must introduce the first set of types in the super tenant Data Dictionary Models /Web Client Extension with a name (customModel.xml and web-client-custom-config.xml) and then in each tenant in the Data Dictionary – Models /Web Client Extension I can create another customModelTenant.xml and web-cilent-config-custom-Tenant.xml…. will it work this way???.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example in the super Tenant Data Dictionary I have the web-client-custom-config.xml configured in the way that only Enligsh ad Spanish are the available languages and also the way the custom&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ropietario, custom:Localizacion types are defined, and then in the tenant I will have the customModelTenant.xml file with the specific types and the web-client-config-custom-Tenant.xml file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will it work?? also, what about the web-client-custom-config.xml file in tomcat\shared\classes\alfresco\extension shall I remove it? and what about the custom-model-context.xml? do I need any (in path, supertenant data dictionary…, tenant data dictionary?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried just using the customModel.xml and web-client-config-custom.xml I have, in the tenant data dictionary, none in the path none in the super tenant but still did not get it to work… Could you detail me plesae where did you place (space names/file names) the files or how you did it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot again&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 11:47:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168912#M122334</guid>
      <dc:creator>jlabuelo</dc:creator>
      <dc:date>2008-06-17T11:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168913#M122335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the case of dynamic web client config, you will need to upload a "web-client-config-custom.xml" (unless you change the "webClientConfigSource" in "web-client-application-context.xml").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Dynamic_Models#Deploying_web_client_customisations" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Dynamic_Models#Deploying_web_client_customisations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, in the case of dynamic models, you can upload multiple models. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Dynamic_Models#Deploying_and_activating_a_custom_model" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Dynamic_Models#Deploying_and_activating_a_custom_model&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, you can either add the tenant-specific types into a new model (which is separate from the common model) or if you wish to override an existing model incrementally then you can add the tenant-specific types to a copy of the model. In the latter case, based on your example attached to ALFCOM-1765, you could:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. as super tenant, upload "customModel_(common).xml" to Data Dictionary -&amp;gt; Models space, and remember to tick "Model Active" property in order to activate the model&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. as super tenant, upload "web-client-config-custom.xml" (renamed from web-client-config-custom(Common).xml") to Data Dictionary -&amp;gt; Web Client Extension space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. as super tenant, access the web client config console and "reload" the client config, login and logout, and then add some content based on the new content types&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. edit "customModel(Tenant).xml" and add the 2 common types (copied from "customModel_(common).xml")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. as tenant admin, upload "customModel(Tenant).xml" to Data Dictionary -&amp;gt; Models space, and remember to tick "Model Active" property in order to activate the model&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. edit "web-client-config-custom(Tenant).xml" and merge in the 2 common types (merged from "web-client-config-custom(Common).xml")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;7. as tenant admin, upload "web-client-config-custom.xml" (renamed from "web-client-config-custom(Tenant).xml") to Data Dictionary -&amp;gt; Web Client Extension space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;8. as tenant admin, access the web client config console and "reload" the client config, login and logout, and then add some content based on the common content types and/or tenant-specific content types&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2008 13:43:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168913#M122335</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2008-06-17T13:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Model in 2.9C not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168914#M122336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 10:05:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-model-in-2-9c-not-working/m-p/168914#M122336</guid>
      <dc:creator>muralie39</dc:creator>
      <dc:date>2010-10-21T10:05:04Z</dc:date>
    </item>
  </channel>
</rss>

