<?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: Create site from xml in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137333#M36844</link>
    <description>&lt;P&gt;I was doing something wrong. It is working now.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 16:29:15 GMT</pubDate>
    <dc:creator>franciscoduarte</dc:creator>
    <dc:date>2024-01-25T16:29:15Z</dc:date>
    <item>
      <title>Create site from xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137329#M36840</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are trying to separate all the business logic from our image. At this moment, we are creating the needed sites through bootstraping. We would like to make this external.&lt;/P&gt;&lt;P&gt;I've extracted our created site through this endpoint:&amp;nbsp;&lt;A href="http://localhost:8082/alfresco/s/api/sites/our-site/export" target="_blank" rel="noopener nofollow noreferrer"&gt;http://localhost:8082/alfresco/s/api/sites/our-site/export&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This exports a zip file which contains the our-site.xml with all the folders and rules created until now.&lt;/P&gt;&lt;P&gt;We would like to upload this xml file, through some rest api possibly, into a clean alfresco installation and make the site available with all the configuration provided.&lt;/P&gt;&lt;P&gt;Something like this with the content model:&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/register-custom-content-model-using-rest-api/td-p/294507" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/register-custom-content-model-using-rest-api/td-p/294507&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Would this be something achievable? If not, can you advise?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Francisco Duarte&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 18:04:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137329#M36840</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2024-01-12T18:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create site from xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137330#M36841</link>
      <description>&lt;P&gt;You can try out&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/alfresco-share-import-export/tree/sdk4.1" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/alfresco-share-import-export/tree/sdk4.1&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Personally, I have not tried.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 11:30:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137330#M36841</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2024-01-13T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create site from xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137331#M36842</link>
      <description>&lt;P&gt;I will give it a try. thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 16:13:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137331#M36842</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2024-01-17T16:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create site from xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137332#M36843</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried this and it actually worked. All the folder and respective rules were created in the documentLibrary from the site I have created imeddiately before.&lt;/P&gt;&lt;P&gt;But now I have a different problem. I have one folder which has one rule triggered when a file enters that same folder. I know that rule is being triggered because a can see the logs from my custom code.&lt;/P&gt;&lt;P&gt;But in the end, I get a nodeRef not found error and the rule does nothing. Now, I'm sure the rule exists because what I said before and I can see the rule in Share, with that same UUID in the error which supposedly does not exists.&lt;/P&gt;&lt;P&gt;Here is the stacktrace:&amp;nbsp;&lt;A href="https://pastebin.com/SH3LpAFi" target="_blank" rel="nofollow noopener noreferrer"&gt;https://pastebin.com/SH3LpAFi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I do not understand what's happening. Could you help?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Francisco Duarte&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 16:11:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137332#M36843</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2024-01-25T16:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create site from xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137333#M36844</link>
      <description>&lt;P&gt;I was doing something wrong. It is working now.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 16:29:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-site-from-xml/m-p/137333#M36844</guid>
      <dc:creator>franciscoduarte</dc:creator>
      <dc:date>2024-01-25T16:29:15Z</dc:date>
    </item>
  </channel>
</rss>

