<?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 Extending Alfresco with AMP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254764#M207894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to everybody, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to extend my repository with an AMP. So I created a new project with maven using the archetype "maven-alfresco-extension-archetype". In the first step I added a new model and some entries in the "share-config-custom.xml" in order to display the new types of the model. I put the new files (model and config) in "&amp;lt;modulId&amp;gt;\src\main\config\model" and "&amp;lt;modulId&amp;gt;\src\main\config\ui". After that I edited the "bootstrap-context.xml" and added these lines:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp; &amp;lt;bean id="ppi.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="models"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;alfresco/module/myalfresco2/model/ppiModel.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="ppi.ConfigBootstrap" class="org.alfresco.web.config.WebClientConfigBootstrap" init-method="init"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="configs"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;classpath:alfresco/module/myalfresco2/ui/share-config-custom.xml&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Accordingly I added an import-statement in the module-context.xml file. After creating the amp file without errors I applied this to the alfresco war file. Looking in the log file I found the message: Installed module found in distribution: myalfresco2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So everything seems to be ok. But unfortunately I could not change the type of any document to my new type. I could not see the new aspects. In the db could not find the new namespace. So I assume that I made something wrong. Before I tested the model and the share-config-custom.xml by putting them to the shared-folder in the tomcat dir. Could anybody help me with that problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2012 12:27:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-31T12:27:34Z</dc:date>
    <item>
      <title>Extending Alfresco with AMP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254764#M207894</link>
      <description>Hi to everybody, I try to extend my repository with an AMP. So I created a new project with maven using the archetype "maven-alfresco-extension-archetype". In the first step I added a new model and some entries in the "share-config-custom.xml" in order to display the new types of the model. I put th</description>
      <pubDate>Fri, 31 Aug 2012 12:27:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254764#M207894</guid>
      <dc:creator />
      <dc:date>2012-08-31T12:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Alfresco with AMP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254765#M207895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Alfresco extension archetype is used to create an Alfresco WAR. That is the Alfresco Repository and the old Explorer client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To create an AMP you have to use an AMP archetype. An AMP can be installed onto the Alfresco war with the mmt-tool or as a maven dependency in the extension archetype.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Alfresco Share to work you need to use the Alfresco Share extension. In this you can put your "share-config-custom.xml".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, after reading your post I suspect you actually have created an Alfresco AMP with the amp archetype in maven. The problem is that you will need to create a Share Extension as well and in this you will put your share-config-custom.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It a djungle, I know &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;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 13:53:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254765#M207895</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-08-31T13:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Alfresco with AMP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254766#M207896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;now I created two maven-amp-plugins with the maven-alfresco-amp-archetype. One plugin injects my model into alfresco.war and the other one does the share customization. I applied both amps to the war files and it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 09:34:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254766#M207896</guid>
      <dc:creator />
      <dc:date>2012-09-03T09:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Alfresco with AMP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254767#M207897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I'm new in Alfresco, and I want know: in the AMP folder structure where should be the share-config-custom.xml file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 16:18:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254767#M207897</guid>
      <dc:creator>edman193</dc:creator>
      <dc:date>2013-04-05T16:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extending Alfresco with AMP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254768#M207898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Checkout my tiny addons : &lt;/SPAN&gt;&lt;A href="https://github.com/fliot/alfresco-geo-ext" rel="nofollow noopener noreferrer"&gt;https://github.com/fliot/alfresco-geo-ext&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It provides an .amp with new model content to alfresco, and a .jar for share customization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Embed the additional share-config-custom.xml customization portions you want into the .jar share, and it makes a full answer to your need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Francois&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 12:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-alfresco-with-amp/m-p/254768#M207898</guid>
      <dc:creator>fliot</dc:creator>
      <dc:date>2013-04-08T12:25:23Z</dc:date>
    </item>
  </channel>
</rss>

