<?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: [SOLVED] single configuration file webscripts in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263892#M217022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm learning to use Alfresco and I've had problems with single configuration file webscripts. This is a big help in my projects. thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 May 2011 13:36:51 GMT</pubDate>
    <dc:creator>joan100</dc:creator>
    <dc:date>2011-05-22T13:36:51Z</dc:date>
    <item>
      <title>[SOLVED] single configuration file webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263891#M217021</link>
      <description>You can have a unique configuration file?instead of having:hello.get.config.xmlbyebye.get.config.xmletc etccombine them into one file (ie.: general.get.config.xml)</description>
      <pubDate>Wed, 11 May 2011 17:00:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263891#M217021</guid>
      <dc:creator>ersecchio</dc:creator>
      <dc:date>2011-05-11T17:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] single configuration file webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263892#M217022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm learning to use Alfresco and I've had problems with single configuration file webscripts. This is a big help in my projects. thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2011 13:36:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263892#M217022</guid>
      <dc:creator>joan100</dc:creator>
      <dc:date>2011-05-22T13:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] single configuration file webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263893#M217023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can add this to my lists of solutions. Thanks ersecchio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;—————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[size=85]&lt;/SPAN&gt;&lt;A href="http://www.coolmathgames.ca" rel="nofollow noopener noreferrer"&gt;cool math games&lt;/A&gt;&lt;SPAN&gt;[/size]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 16:21:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263893#M217023</guid>
      <dc:creator>bobwinston</dc:creator>
      <dc:date>2011-05-23T16:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] single configuration file webscripts</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263894#M217024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved this way, I created a file configuration.xml&amp;nbsp; and I put this file in all configurations, ie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parametro&amp;gt;parameter&amp;lt;/parametro&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;parametro2&amp;gt;model uri&amp;lt;/parametro2&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; then I uploaded this file on alfresco , and to read this configuration file I have implemented these lines of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;nodes = search.luceneSearch("ALL:configuration.xml");&lt;BR /&gt;var contenuto= nodes[0].content&lt;BR /&gt;var xml = new XML(contenuto)&lt;BR /&gt;&lt;BR /&gt;var parametro=xml.parametro.toString();&lt;BR /&gt;var parametro2=&amp;nbsp; xml.parametro2.toString();&lt;BR /&gt;&lt;BR /&gt;etc. etc.&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &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;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 10:54:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-single-configuration-file-webscripts/m-p/263894#M217024</guid>
      <dc:creator>ersecchio</dc:creator>
      <dc:date>2011-05-26T10:54:54Z</dc:date>
    </item>
  </channel>
</rss>

