<?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 Unable to retrieve content using REST API from Alfresco Activiti Trial Version in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-retrieve-content-using-rest-api-from-alfresco-activiti/m-p/191094#M144224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I am uploading my attachments in Task Forms using the Task App in Alfresco Activiti App Trial Version, I am unable to retrieve the attachments using REST API. (REST API Reference used: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/activiti/topics/bpm-content.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/activiti/topics/bpm-content.html&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;REST URLs I tried with, are given here: (Both used as GET Requests)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;1. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@localhost:8080/activiti-app/api/enterprise/process-instances/17518/content&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;2. &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;username&amp;gt;:&amp;lt;password&amp;gt;@localhost:8080/activiti-app/api/api/enterprise/tasks/17523/content&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have checked from &lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-admin/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-admin/&lt;/A&gt;&lt;SPAN&gt; as well and Process Instance ID = 17518 and TaskID (in which attachment was uploaded = 17523).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Response received on using either URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;size: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;total: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;start: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;data: [0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Oct 2015 07:38:01 GMT</pubDate>
    <dc:creator>akashdhruvc</dc:creator>
    <dc:date>2015-10-09T07:38:01Z</dc:date>
    <item>
      <title>Unable to retrieve content using REST API from Alfresco Activiti Trial Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-retrieve-content-using-rest-api-from-alfresco-activiti/m-p/191094#M144224</link>
      <description>Hi AllAfter I am uploading my attachments in Task Forms using the Task App in Alfresco Activiti App Trial Version, I am unable to retrieve the attachments using REST API. (REST API Reference used: http://docs.alfresco.com/activiti/topics/bpm-content.html)REST URLs I tried with, are given here: (Both</description>
      <pubDate>Fri, 09 Oct 2015 07:38:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-retrieve-content-using-rest-api-from-alfresco-activiti/m-p/191094#M144224</guid>
      <dc:creator>akashdhruvc</dc:creator>
      <dc:date>2015-10-09T07:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to retrieve content using REST API from Alfresco Activiti Trial Version</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unable-to-retrieve-content-using-rest-api-from-alfresco-activiti/m-p/191095#M144225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Those two API's you mention are for retrieving 'Related Content' from a task or process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get content that was attached to a task via a form, you need to know the variable in which it is stored in activiti (which is configured in the form field popup, typically it's the same as the label with whitespaces and funny characters removed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using that id, you can get the content via GET api/enterprise/content/{contentId}/raw&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 10:42:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unable-to-retrieve-content-using-rest-api-from-alfresco-activiti/m-p/191095#M144225</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-13T10:42:43Z</dc:date>
    </item>
  </channel>
</rss>

