<?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 Variables in Query string in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/variables-in-query-string/m-p/273871#M227001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to use a variable in my query string. This works fine if I take the literal string from container.id and substitute it. Unfortunately I need this to be dynamic and container.id is going to change relative to the current site. Is it not possible to concatinate like this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var container = companyhome.childByNamePath("Sites/" + args.mySite + "/page/News");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var spath = 'PARENT:"workspace://SpacesStore/"' + container.id;&lt;SPAN class="line-numbers-rows"&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;Thank you for your assistance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2011 13:10:26 GMT</pubDate>
    <dc:creator>cedorfm</dc:creator>
    <dc:date>2011-06-06T13:10:26Z</dc:date>
    <item>
      <title>Variables in Query string</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/variables-in-query-string/m-p/273871#M227001</link>
      <description>Hello,I am trying to use a variable in my query string. This works fine if I take the literal string from container.id and substitute it. Unfortunately I need this to be dynamic and container.id is going to change relative to the current site. Is it not possible to concatinate like this…&amp;nbsp;&amp;nbsp;&amp;nbsp;var conta</description>
      <pubDate>Mon, 06 Jun 2011 13:10:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/variables-in-query-string/m-p/273871#M227001</guid>
      <dc:creator>cedorfm</dc:creator>
      <dc:date>2011-06-06T13:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Variables in Query string</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/variables-in-query-string/m-p/273872#M227002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;SOLUTION&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like my syntax was all wrong…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is how you include a variable in your string query. I got a little confused using the escape characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var spath = "PARENT:\"" + container.nodeRef + "\"";&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 14:32:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/variables-in-query-string/m-p/273872#M227002</guid>
      <dc:creator>cedorfm</dc:creator>
      <dc:date>2011-06-07T14:32:36Z</dc:date>
    </item>
  </channel>
</rss>

