<?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: Display Files attached in previous Process Instances in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29305#M12472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason I cannot download it! Can you attach it in this thread? You can do attachments using the advanced editor. Also, please export the whole app including any forms you have in your prototype&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2017 20:39:14 GMT</pubDate>
    <dc:creator>cjose</dc:creator>
    <dc:date>2017-07-11T20:39:14Z</dc:date>
    <item>
      <title>Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29296#M12463</link>
      <description>Given a Process Instance ID OR ContentId, I need to be able to display to the user in a downloadable format all files attached during that workflow. These files are being stored as BLOBs in an Oracle database table. Is there a way I can display these files to the user following a query of that proce</description>
      <pubDate>Mon, 10 Jul 2017 19:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29296#M12463</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-10T19:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29297#M12464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please confirm if you are using the Enterprise version of the&amp;nbsp;Activiti or the community version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 20:59:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29297#M12464</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-10T20:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29298#M12465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enterprise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:05:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29298#M12465</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-10T21:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29299#M12466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if these APIs are of any help?&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/process-services1.6/topics/content.html" title="http://docs.alfresco.com/process-services1.6/topics/content.html" rel="nofollow noopener noreferrer"&gt;Content | Alfresco Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:24:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29299#M12466</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-10T21:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29300#M12467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using this API I'm able to GET the details about the documents (ID, name, etc). However, if I try to map the&amp;nbsp;ID to a variable and then use Display Value id_variable&amp;nbsp;in a form, it shows up empty. How do I then display the file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:39:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29300#M12467</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-10T21:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29301#M12468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be solved in few different ways. Are you able to share a prototype of what you trying to do? If you want to get the actual file itself, you need to invoke the following API with the ID you get from the RELATED_CONTENT table&lt;/P&gt;&lt;PRE class="" style="color: #333333; background-color: #f5f5f5; border: 1px solid #888888; margin: 0px 0px 20px; padding: 2px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;GET api&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;enterprise&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;/&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;content&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;/{&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;contentId&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;}/&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;raw&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:46:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29301#M12468</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-10T21:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29302#M12469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright so I've used that call and get "Response message: could not parse response to JSON: %PDF-1.7" How then am I able to map the PDF to a variable/ display it to the user in a form?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 21:52:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29302#M12469</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-10T21:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29303#M12470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like I said above, please provide a prototype of your solution so that I&lt;/P&gt;&lt;P&gt;can better help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 22:56:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29303#M12470</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-10T22:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29304#M12471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a prototype. I have removed the endpoint address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 14:55:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29304#M12471</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-11T14:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29305#M12472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason I cannot download it! Can you attach it in this thread? You can do attachments using the advanced editor. Also, please export the whole app including any forms you have in your prototype&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:39:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29305#M12472</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-11T20:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29306#M12473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I have attached it. Thank you for your diligence, Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:43:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29306#M12473</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-11T20:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29307#M12474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are complicating this. You don't have to do any of that if all you trying to do is display a previously selected attachment. Please find attached a modified version where you can use display value field to select an attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29307#M12474</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-11T20:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29308#M12475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to display a document attached in a previous process instance, not the current one&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 21:17:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29308#M12475</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-11T21:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29309#M12476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is best to be done using the Java APIs associated with related contents. You can refer to an example at&amp;nbsp;&lt;A class="link-titled" href="https://github.com/cijujoseph/activiti-examples/tree/master/activiti-copy-attachments-from-parent-process" title="https://github.com/cijujoseph/activiti-examples/tree/master/activiti-copy-attachments-from-parent-process" rel="nofollow noopener noreferrer"&gt;activiti-examples/activiti-copy-attachments-from-parent-process at master · cijujoseph/activiti-examples · GitHub&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If it is one or two files, using the url field field is an option too. Please find attached an example showing how to do it. to run this example, you need to know the content id which you can obtain using rest apis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&amp;nbsp;Also, when asking questions, it would be great if you can provide as much details as you can at the beginning including some attachments like unit tests, prototypes etc which will help save time!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 21:42:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29309#M12476</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-11T21:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29310#M12477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ciju, this still does not resolve my issue. The processes would not be related in any way; there is no parent-child relationship. I basically need to create a search engine where a user can find/download ANY content that has been uploaded in an entirely different process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:45:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29310#M12477</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-12T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29311#M12478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understood. I was just showing an example of how to use the JAVA APIs. You will have to write your logic based on your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ciju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:48:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29311#M12478</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-12T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29312#M12479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am unable to import your app, I see the error&amp;nbsp;&lt;BR /&gt;"&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;Error while processing the app definition file&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #333333; background-color: #ffffff; font-size: 12px;"&gt;: Could not deserialize form definition&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:13:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29312#M12479</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-12T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29313#M12480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a version older than 1.6? I created the app in 1.6.3 and if you are using one of the older versions (1.5.x or below) you may get this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 15:02:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29313#M12480</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-12T15:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29314#M12481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;As I am unable to view your example, would you mind explaining what you have done? I understand I&amp;nbsp;perform an API call to retrieve the file using its contentId. When I have done this, it returns the raw file in a way that does not let me map it to a variable which I can then display in another form. How do I get from the API call to being able to view/download the file?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 15:26:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29314#M12481</guid>
      <dc:creator>gbanks</dc:creator>
      <dc:date>2017-07-12T15:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Display Files attached in previous Process Instances</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29315#M12482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if you are able to import the attached app. I manually modified to make it compatible with 1.5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 15:31:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/display-files-attached-in-previous-process-instances/m-p/29315#M12482</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-07-12T15:31:44Z</dc:date>
    </item>
  </channel>
</rss>

