<?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: POST data in template in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/post-data-in-template/m-p/217678#M170808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Answering myself, I have solved with a js controller. I changed the request to JSON and finally managed to extract the POST data with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var jsonData = jsonUtils.toObject(requestbody.content);&lt;BR /&gt;model.htmlid = jsonData.htmlid;&lt;BR /&gt;model.printOrderRef = jsonData.printOrderRef;&lt;BR /&gt;model.printOrderFileName = jsonData.printOrderFileName;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Dec 2009 09:45:58 GMT</pubDate>
    <dc:creator>nilsw</dc:creator>
    <dc:date>2009-12-16T09:45:58Z</dc:date>
    <item>
      <title>POST data in template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/post-data-in-template/m-p/217677#M170807</link>
      <description>Stupid newbie question probably, but here it goes.I have managed to AJAX load HTML into a dialog from a custom Share toolbar action with a GET request. But when I switch to POST (which I will need as I have to send a lot of data), I can no longer access the request parameters in the template.The req</description>
      <pubDate>Tue, 15 Dec 2009 14:34:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/post-data-in-template/m-p/217677#M170807</guid>
      <dc:creator>nilsw</dc:creator>
      <dc:date>2009-12-15T14:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: POST data in template</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/post-data-in-template/m-p/217678#M170808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Answering myself, I have solved with a js controller. I changed the request to JSON and finally managed to extract the POST data with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;var jsonData = jsonUtils.toObject(requestbody.content);&lt;BR /&gt;model.htmlid = jsonData.htmlid;&lt;BR /&gt;model.printOrderRef = jsonData.printOrderRef;&lt;BR /&gt;model.printOrderFileName = jsonData.printOrderFileName;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Dec 2009 09:45:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/post-data-in-template/m-p/217678#M170808</guid>
      <dc:creator>nilsw</dc:creator>
      <dc:date>2009-12-16T09:45:58Z</dc:date>
    </item>
  </channel>
</rss>

