<?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: Building docker container with custom model (exported from alfresco share) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125515#M34231</link>
    <description>&lt;P&gt;There is no out-of-the-box option to import a Content Model from a ZIP file.&lt;/P&gt;
&lt;P&gt;You can design the content model in XML to be deployed in repo part and the forms in XML to be deployed in share. This allows you to deploy them automatically on every deployment:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/content-model/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/content-model/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Dec 2022 14:49:36 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2022-12-02T14:49:36Z</dc:date>
    <item>
      <title>Building docker container with custom model (exported from alfresco share)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125514#M34230</link>
      <description>&lt;P&gt;Hi, I created custom model, that is extending cmis:document, in alfresco share an exported it as zip with two xmls. Now for deployment I want that exported model to be automaticaly imported to alfresco docker container, so I dont have to import it manualy each time. It this possible ? I have not found those xmls in docker container files, I only found namespace and types in database.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 14:12:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125514#M34230</guid>
      <dc:creator />
      <dc:date>2022-12-02T14:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Building docker container with custom model (exported from alfresco share)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125515#M34231</link>
      <description>&lt;P&gt;There is no out-of-the-box option to import a Content Model from a ZIP file.&lt;/P&gt;
&lt;P&gt;You can design the content model in XML to be deployed in repo part and the forms in XML to be deployed in share. This allows you to deploy them automatically on every deployment:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/content-model/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/latest/develop/repo-ext-points/content-model/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 14:49:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125515#M34231</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-12-02T14:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Building docker container with custom model (exported from alfresco share)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125516#M34232</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;So If i understant it correctly, when I created custom model in alfresco share and then export it it gives me 2 files. One where root&amp;nbsp; element is model(there are imports, namespace and types) and secon one where root element is module(there is configuration). So first one with model is actual model and I should copy it to alfresco docker&amp;nbsp;&lt;SPAN&gt;tomcat/shared/classes/alfresco/extension/NAME.xml. Second one is for alfresco share, so document could be viewed in browser so it shoul be copied to alfresco share docker&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;tomcat/shared/classes/alfresco/web-extension/NAME.xml. So I did, checked that files are there, alfresco recognise it because firstly there were errors and when I correced them alfresco started normaly. But there is still no my custom model shown in alfresco share or alfresco console. What can be tha cause ?&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="deployment.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1612i35E9C5048186587E/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 09:15:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125516#M34232</guid>
      <dc:creator />
      <dc:date>2022-12-07T09:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Building docker container with custom model (exported from alfresco share)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125517#M34233</link>
      <description>&lt;P&gt;For anyone wondering I had to add NAME-context.xml next to&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;tomcat/shared/classes/alfresco/extension/custom-document.xml&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN&gt;xml version&lt;/SPAN&gt;&lt;SPAN&gt;='1.0' &lt;/SPAN&gt;&lt;SPAN&gt;encoding&lt;/SPAN&gt;&lt;SPAN&gt;='UTF-8'&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE &lt;/SPAN&gt;&lt;SPAN&gt;beans &lt;/SPAN&gt;&lt;SPAN&gt;PUBLIC &lt;/SPAN&gt;&lt;SPAN&gt;'-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;beans&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;bean &lt;/SPAN&gt;&lt;SPAN&gt;id&lt;/SPAN&gt;&lt;SPAN&gt;="myCustomModel.dictionaryBootstrap" &lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt;&lt;SPAN&gt;="dictionaryModelBootstrap" &lt;/SPAN&gt;&lt;SPAN&gt;depends-on&lt;/SPAN&gt;&lt;SPAN&gt;="dictionaryBootstrap"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;        &amp;lt;property &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;="models"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;            &amp;lt;list&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;                &amp;lt;value&amp;gt;&lt;/SPAN&gt;alfresco/extension/custom-document.xml&lt;SPAN&gt;&amp;lt;/value&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;            &amp;lt;/list&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;        &amp;lt;/property&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;    &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/beans&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Dont know If it nessesary but at least I know that when custom document is deployed it is not shown in alfresco share model mannager or alfresco console command show models. If alfresco start up correctly better to test it with document upload or import .zip file with same custom document name&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 07:38:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/building-docker-container-with-custom-model-exported-from/m-p/125517#M34233</guid>
      <dc:creator />
      <dc:date>2022-12-09T07:38:20Z</dc:date>
    </item>
  </channel>
</rss>

