<?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: Huge alfresco-share-config file size in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94835#M27960</link>
    <description>&lt;P&gt;Ok, I figured it out. It was a lot easier than I thought.&lt;/P&gt;&lt;P&gt;If you want to reduce your config file size, you should create a file in the src/main/resources/alfresco/web-extensions/sit-data/extensions and paste your config there.&lt;/P&gt;&lt;PRE&gt;&amp;lt;extension&amp;gt;
	&amp;lt;modules&amp;gt;
		&amp;lt;module&amp;gt;
			&amp;lt;id&amp;gt;config-custom-workflow1&amp;lt;/id&amp;gt;
			&amp;lt;title&amp;gt;Share config for Workflow1&amp;lt;/title&amp;gt;
			&amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
			&amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
                        &amp;lt;configurations&amp;gt;
           HERE PASTE YOUR WORKFLOW CONFIG
			&amp;lt;/configurations&amp;gt;
		&amp;lt;/module&amp;gt;
	&amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt;&lt;/PRE&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;for a hint.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Mar 2020 11:33:17 GMT</pubDate>
    <dc:creator>upforsin</dc:creator>
    <dc:date>2020-03-20T11:33:17Z</dc:date>
    <item>
      <title>Huge alfresco-share-config file size</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94831#M27956</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've made a few workflows. Each one has on average 10 tasks, each one with ~10properties.&lt;/P&gt;&lt;P&gt;Based on my current knowledge, I can configure workflows with Share using only&amp;nbsp;&lt;EM&gt;alfresco-share-config&lt;/EM&gt; (sadly).&lt;/P&gt;&lt;P&gt;Aside from the fact that configuring and writing XML for every task is tremendous work, &lt;STRONG&gt;my &lt;EM&gt;current&amp;nbsp;alfresco-share-config&lt;/EM&gt; has almost 4 000 lines&lt;/STRONG&gt;. I'm not an expert but files should not be that big.&lt;/P&gt;&lt;P&gt;Is there a way to divide this one huge file into much smaller ones?&lt;/P&gt;&lt;P&gt;I work on Alfresco Community Edition 6.1.2&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 13:21:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94831#M27956</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-03-09T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Huge alfresco-share-config file size</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94832#M27957</link>
      <description>&lt;P&gt;You can create config XML files for every workflow, it's not required to add every definition to share-config-custom.xml file.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/community/concepts/dev-extensions-share-surf-extension-modules.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/community/concepts/dev-extensions-share-surf-extension-modules.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 13:37:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94832#M27957</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-03-09T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Huge alfresco-share-config file size</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94833#M27958</link>
      <description>&lt;P&gt;Thank you for the reply &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;. I studied docs you sent, do you mind checking if I'm correct?&lt;/P&gt;&lt;P&gt;If I create a &lt;EM&gt;myTestFile.xml&lt;/EM&gt; in the&amp;nbsp;&lt;EM&gt;src/main/resources/alfresco/web-extension/site-data/extensions&lt;/EM&gt; and fill it with:&lt;/P&gt;&lt;PRE&gt;&amp;lt;config evaluator="string-compare" condition="activiti$my_t0"&amp;gt;
&amp;lt;forms&amp;gt;
&amp;lt;form&amp;gt;
&amp;lt;field-visibility&amp;gt;
&amp;lt;show id="packageItems" /&amp;gt;&lt;BR /&gt;&amp;lt;show id="transitions" /&amp;gt;&lt;BR /&gt;&amp;lt;show id="bpm:workflowDescription" /&amp;gt;
...

&amp;lt;/form&amp;gt;
&amp;lt;/forms&amp;gt;
&amp;lt;/config&amp;gt;&lt;/PRE&gt;&lt;P&gt;Would it work?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 16:19:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94833#M27958</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-03-09T16:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Huge alfresco-share-config file size</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94834#M27959</link>
      <description>&lt;P&gt;Well.. it does not work.&lt;/P&gt;&lt;P&gt;I have a couple of other extensions, but every time I use Surf extensions I change files in the &lt;EM&gt;src/main/resources/alfresco/site-webscripts&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;How can I add configuration to the &lt;EM&gt;&lt;STRONG&gt;share-config-custom&lt;/STRONG&gt;&lt;/EM&gt; which is in a completely different path? ( &lt;EM&gt;src/main/resources/META-INF&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;Should I create a file like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;extension&amp;gt;
	&amp;lt;modules&amp;gt;
		&amp;lt;module&amp;gt;
			&amp;lt;id&amp;gt;config-custom-workflow1&amp;lt;/id&amp;gt;
			&amp;lt;title&amp;gt;Share config for Workflow1&amp;lt;/title&amp;gt;
			&amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
			&amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
			&amp;lt;customizations&amp;gt;
				&amp;lt;customization&amp;gt;
					&amp;lt;targetPackageRoot&amp;gt;what should be here?&amp;lt;/targetPackageRoot&amp;gt;
					&amp;lt;sourcePackageRoot&amp;gt;what should be here?&amp;lt;/sourcePackageRoot&amp;gt;
				&amp;lt;/customization&amp;gt;
			&amp;lt;/customizations&amp;gt;
		&amp;lt;/module&amp;gt;
	&amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt;	&lt;/PRE&gt;&lt;P&gt;And then in the&amp;nbsp;&lt;EM&gt;sourcePackageRoot put &lt;/EM&gt;the file with configuration&lt;EM&gt;?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 18:10:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94834#M27959</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-03-10T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Huge alfresco-share-config file size</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94835#M27960</link>
      <description>&lt;P&gt;Ok, I figured it out. It was a lot easier than I thought.&lt;/P&gt;&lt;P&gt;If you want to reduce your config file size, you should create a file in the src/main/resources/alfresco/web-extensions/sit-data/extensions and paste your config there.&lt;/P&gt;&lt;PRE&gt;&amp;lt;extension&amp;gt;
	&amp;lt;modules&amp;gt;
		&amp;lt;module&amp;gt;
			&amp;lt;id&amp;gt;config-custom-workflow1&amp;lt;/id&amp;gt;
			&amp;lt;title&amp;gt;Share config for Workflow1&amp;lt;/title&amp;gt;
			&amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
			&amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;
                        &amp;lt;configurations&amp;gt;
           HERE PASTE YOUR WORKFLOW CONFIG
			&amp;lt;/configurations&amp;gt;
		&amp;lt;/module&amp;gt;
	&amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt;&lt;/PRE&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;for a hint.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 11:33:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/huge-alfresco-share-config-file-size/m-p/94835#M27960</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-03-20T11:33:17Z</dc:date>
    </item>
  </channel>
</rss>

