<?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: Document needs to be displayed in Task Page in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10357#M4599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you will need to retrieve associated content using the relatedContentService I posted earlier.&lt;BR /&gt;Use a script task or create a &amp;nbsp;Java delegate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jun 2017 22:07:50 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-06-01T22:07:50Z</dc:date>
    <item>
      <title>Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10352#M4594</link>
      <description>Hi All,I am developing an application in Alfresco Activiti App which has multiple levels with different user actions. At 1st step I am generating a document using a form info and a template. Now, I would like to display the same document to the user in the next level.I tried with Adding Attach &amp;nbsp;but</description>
      <pubDate>Tue, 30 May 2017 07:38:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10352#M4594</guid>
      <dc:creator>naveenv449</dc:creator>
      <dc:date>2017-05-30T07:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10353#M4595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know the content ID you can use a Hyperlink with the following URL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/activiti-app/app/rest/content/&lt;STRONG&gt;5005&lt;/STRONG&gt;/rendition/preview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice the 5005 in the URL is the content ID of the attachment, you will need to retrieve this when you create/save the document and put it into a variable so you can include it in the Hyperlink definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obviously you could get a lot fancier with a custom form stencil, but whatever you do, you will need to pull the document with the URL shown (I think this is what the tasklist uses).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 18:51:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10353#M4595</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-30T18:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10354#M4596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Greg &lt;B&gt;Greg Harley&lt;/B&gt; for the quick response. I have tried to check the solution that you have suggested. I could see the&amp;nbsp;document getting loaded when i hit&amp;nbsp;the URL. I am generating the document using Activiti, here could you suggest me how to get the content id when the document is generated?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Naveen Vatambeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 12:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10354#M4596</guid>
      <dc:creator>naveenv449</dc:creator>
      <dc:date>2017-05-31T12:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10355#M4597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you need to provide me the code you are using the create the document.&lt;/P&gt;&lt;P&gt;In general for Enterprise Edition, you can retrieve any documents associated with the process instance using the RelatedContentService.&lt;BR /&gt;&lt;BR /&gt;E.g. relatedContentService.getRelatedContentForProcessInstance(instanceId, pageSize, page);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 19:27:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10355#M4597</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-31T19:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10356#M4598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Greg &amp;nbsp;for one more quick response. I am actually doing this using Generate Document Activity using a template. I did not write any code to achieve this task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/14223_pastedImage_3.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/14222_pastedImage_2.png" style="width: 620px; height: 276px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Naveen Vatambeti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 06:32:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10356#M4598</guid>
      <dc:creator>naveenv449</dc:creator>
      <dc:date>2017-06-01T06:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10357#M4599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you will need to retrieve associated content using the relatedContentService I posted earlier.&lt;BR /&gt;Use a script task or create a &amp;nbsp;Java delegate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 22:07:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10357#M4599</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-06-01T22:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Document needs to be displayed in Task Page</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10358#M4600</link>
      <description>&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;I am seeking for the same thing can i contact you regarding to discuss this.&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 10:47:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/document-needs-to-be-displayed-in-task-page/m-p/10358#M4600</guid>
      <dc:creator>vamsikrishna</dc:creator>
      <dc:date>2020-06-03T10:47:25Z</dc:date>
    </item>
  </channel>
</rss>

