<?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: Task-edit web preview in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291455#M244585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a task / workflow is not a document and cannot be previewed just by copying over the existing web-preview component. Any one task may contain none, one or many individual documents, either directly or within its content structure / folders. The web-preview component is only capable of previewing a single document that is provided at page load time (i.e. via the nodeRef= parameter in the page URL).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to preview documents from the task contents, you basically need to create a new preview component / module that you can control from within the task form, i.e. when the user clicks on an action for a specific document in that task. It is not possible just by adapting / copying the existing component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I once implemented such a feature for a customer and overall it took me (a full time professional) about a weeks worth of work. That was back in Alfresco 3.4 and I don't have access to the source anymore, so can't provide any snippets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 10:20:28 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-03-24T10:20:28Z</dc:date>
    <item>
      <title>Task-edit web preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291454#M244584</link>
      <description>I want to implement a preview of the document in the form of the task-edit of the workflows… How can I do this? I try to adapt the document-details.xml and document-details.ftl to workflow-details.xml and workflow-details.ftl but not works. I tried to copy the components that have web-preview of the</description>
      <pubDate>Wed, 23 Mar 2016 18:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291454#M244584</guid>
      <dc:creator>pat9rv3sousa</dc:creator>
      <dc:date>2016-03-23T18:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Task-edit web preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291455#M244585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;a task / workflow is not a document and cannot be previewed just by copying over the existing web-preview component. Any one task may contain none, one or many individual documents, either directly or within its content structure / folders. The web-preview component is only capable of previewing a single document that is provided at page load time (i.e. via the nodeRef= parameter in the page URL).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to preview documents from the task contents, you basically need to create a new preview component / module that you can control from within the task form, i.e. when the user clicks on an action for a specific document in that task. It is not possible just by adapting / copying the existing component.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I once implemented such a feature for a customer and overall it took me (a full time professional) about a weeks worth of work. That was back in Alfresco 3.4 and I don't have access to the source anymore, so can't provide any snippets.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 10:20:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291455#M244585</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-24T10:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Task-edit web preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291456#M244586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But in the task-edit I have nodeRef of the document attached to the workflow, and I want to make in a form, a way to preview the document. It's not possible? Like in the document-details. I have nodeRef so , I think it's possible . Or not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 15:51:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291456#M244586</guid>
      <dc:creator>pat9rv3sousa</dc:creator>
      <dc:date>2016-03-24T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Task-edit web preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291457#M244587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the task-edit you CAN have a nodeRef of the document attached, but you can also have MULTIPLE documents attached or NONE at all. The point is that there is no guaranteed / stable link and as such an external component (that is NOT part of the edit form itself) can't be used to render an attached document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can of course use the preview as a component WITHIN the edit form, but this is a more complex to achieve. It is definitely not simple enough to just drop some snippets/ideas here and hope you can take it from there…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 07:59:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291457#M244587</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-29T07:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Task-edit web preview</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291458#M244588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And how can I achieve this ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Suppose that workflow has 1 document only, I can't use a preview for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or suppose that I want to put a preview in a page that has only a nodeRef in a link, in a simple page that I create, how can I embbed the preview (not in Aikau page… in a simple page Surf)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 08:28:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-edit-web-preview/m-p/291458#M244588</guid>
      <dc:creator>pat9rv3sousa</dc:creator>
      <dc:date>2016-03-31T08:28:00Z</dc:date>
    </item>
  </channel>
</rss>

