<?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: Passing a result from a post webscript to a get webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308981#M262111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Call same get script with parameters to limit your results&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 May 2014 06:26:09 GMT</pubDate>
    <dc:creator>zafarale</dc:creator>
    <dc:date>2014-05-23T06:26:09Z</dc:date>
    <item>
      <title>Passing a result from a post webscript to a get webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308979#M262109</link>
      <description>Hi all,I'm facing the following challange: I've a GET web-script that returns a&amp;nbsp; set of documents from a Javabacked script in Share. The documents will be displayed in a table to the user. Now, the user is able to select from a dropdown a number of documents that should be displayed (pre-defined as:</description>
      <pubDate>Mon, 10 Mar 2014 16:30:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308979#M262109</guid>
      <dc:creator>itzamna</dc:creator>
      <dc:date>2014-03-10T16:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a result from a post webscript to a get webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308980#M262110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nobody has a clue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe let me explain it in a different way on the use-case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've a GET webscript that displays a table with 10 documents (name, title, description, originator) to the user. Now the user is able to select from a dropdown (near the table) a different number of documents he wants to see, let's say 50 for example. If he has selected the new value he submits the formular.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I want to receive the value to query the database with it (compare above to the snippet "function execute(jsonString)").&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It all works fine. I receive the value in my POST webscript, I'm able to query the db and I'm able to provide the new results as JSON in the POST webscript (resultObject["searchResults"]; above).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But now: How do I get the result back to the GET webscript where the presentation is already implemented? I don't think the solution can be to duplicate the myshare.get.html.ftl and rename it to myshare.post.html.ftl so that I have to maintain the presentation logic always twice?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I wrong with my approach? What is an approach to solve such a request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 11:31:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308980#M262110</guid>
      <dc:creator>itzamna</dc:creator>
      <dc:date>2014-03-11T11:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a result from a post webscript to a get webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308981#M262111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Call same get script with parameters to limit your results&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 06:26:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308981#M262111</guid>
      <dc:creator>zafarale</dc:creator>
      <dc:date>2014-05-23T06:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passing a result from a post webscript to a get webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308982#M262112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why have you got two web scripts?&amp;nbsp;&amp;nbsp;&amp;nbsp; If you use multiple scripts then you will need to persist data somewhere so you can work on it.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In a single get script the script controller brings together the data from various sources before displaying the result.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 08:38:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-a-result-from-a-post-webscript-to-a-get-webscript/m-p/308982#M262112</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-05-23T08:38:55Z</dc:date>
    </item>
  </channel>
</rss>

