<?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: Uploaded documents and availability of thumbnails ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278030#M231160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unless one has been added recently that I missed, there is no out-of-the-box rule action that will create thumbnails in the same way that thumbnails are created when you view the document library. You have to write this yourself. One way to do it is to write server-side JavaScript that leverages the &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/references/API-JS-RenditionService.html" rel="nofollow noopener noreferrer"&gt;rendition service&lt;/A&gt;&lt;SPAN&gt; to force the creation of the thumbnail for the node when it is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once your JavaScript is working you can point to it from a rule using the "Execute Script" action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Word of warning: If you set this rule on your root folder and tell it to apply to all sub-folders, it will apply to ALL sub-folders, even sub-folders that aren't visible to the user interface. And your server will be very, very busy creating renditions for each and every node in your entire repository. So be very restrictive in your rule action and even in your JavaScript to make sure that you are only creating renditions for folders and nodes that you intend, otherwise it will get out-of-hand very quickly. It is easy to send your repository into a rendition death spiral if you don't pay attention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2012 14:52:59 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2012-12-03T14:52:59Z</dc:date>
    <item>
      <title>Uploaded documents and availability of thumbnails ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278026#M231156</link>
      <description>HelloI have a question re: behavior we are seeing with Alfresco 4.2.a (Community Edition).&amp;nbsp; (we have been able to reproduce the sequence of events and behavior multiple times).&amp;nbsp; Running SLES 11, and JDK 6 with an OOTB installation (Postgress, Solr, Tomcat, etc).We have developed an application that</description>
      <pubDate>Fri, 02 Nov 2012 21:52:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278026#M231156</guid>
      <dc:creator>mcs130</dc:creator>
      <dc:date>2012-11-02T21:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Uploaded documents and availability of thumbnails ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278027#M231157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The issue is that thumbnails are "lazily" created as and when requested.&amp;nbsp;&amp;nbsp; By opening the browser it triggers the generation of the thumbnails if they don't already exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably want to create thumbnails via a rule instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 23:36:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278027#M231157</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-11-02T23:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Uploaded documents and availability of thumbnails ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278028#M231158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok… Could you perhaps share how one implements this idea of a rule ? Is this covered in the online docs somewhere and I just missed it? Is this something configurable with xml like the model extension concept?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We will require the need to have a thumbnail available on demand for any doucument uploaded via our application we are building. Will that be possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance for any insight.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2012 01:09:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278028#M231158</guid>
      <dc:creator>mcs130</dc:creator>
      <dc:date>2012-11-03T01:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Uploaded documents and availability of thumbnails ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278029#M231159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Let me also add that I have found the place in the Web admin page for Rules Management. &lt;/SPAN&gt;&lt;A href="http://xx.xx.xx.xx:8080/share/page/folder-rules" rel="nofollow noopener noreferrer"&gt;http://xx.xx.xx.xx:8080/share/page/folder-rules&lt;/A&gt;&lt;SPAN&gt;?&amp;nbsp; I try navigating this and use the Rule creation dialog that has a dialog elements like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Perform Action:&lt;BR /&gt;&lt;BR /&gt; Transform and copy content:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mimetype:&amp;nbsp;&amp;nbsp;&amp;nbsp; to…/____________&amp;nbsp;&amp;nbsp; Select…&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can set the Mimetype to &lt;/SPAN&gt;&lt;EM&gt;PNG Image&lt;/EM&gt;&lt;SPAN&gt; but then what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I assume there is some place to configure a size of the image&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) We will want this rule applied to the top level folder and ALL descending folders as they are created and content added (which I do see the option to have it apply to subfolders) … and the problem here is that it wants you to specify the "to" folder location.&amp;nbsp; But it requires you pick from a tree display of the folders but that won't work.&amp;nbsp; The thumbnail image should reside in the same folder as the actual document itself, no?&amp;nbsp; There is no ONE place for these, is there?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the Admin page is used to navigate the tree hierarchy of the repository and then lists the documents and then this "lazy" creation (as you refer to it) of thumbnails is occurring - what is that rule doing?&amp;nbsp; Where is it storing these? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This raises far more questions than it answers.&amp;nbsp; Any additional input, example or reference link would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Nov 2012 17:06:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278029#M231159</guid>
      <dc:creator>mcs130</dc:creator>
      <dc:date>2012-11-03T17:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Uploaded documents and availability of thumbnails ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278030#M231160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unless one has been added recently that I missed, there is no out-of-the-box rule action that will create thumbnails in the same way that thumbnails are created when you view the document library. You have to write this yourself. One way to do it is to write server-side JavaScript that leverages the &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/references/API-JS-RenditionService.html" rel="nofollow noopener noreferrer"&gt;rendition service&lt;/A&gt;&lt;SPAN&gt; to force the creation of the thumbnail for the node when it is created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once your JavaScript is working you can point to it from a rule using the "Execute Script" action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Word of warning: If you set this rule on your root folder and tell it to apply to all sub-folders, it will apply to ALL sub-folders, even sub-folders that aren't visible to the user interface. And your server will be very, very busy creating renditions for each and every node in your entire repository. So be very restrictive in your rule action and even in your JavaScript to make sure that you are only creating renditions for folders and nodes that you intend, otherwise it will get out-of-hand very quickly. It is easy to send your repository into a rendition death spiral if you don't pay attention.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 14:52:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278030#M231160</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-12-03T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Uploaded documents and availability of thumbnails ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278031#M231161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mark&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also have to upload a file from local disk into the alfresco&amp;nbsp; repository but in my code it always shows the same mimetype for every file i.e application/octet . &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, can you share your code with me so that i can rectify my code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nancy&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 12:36:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/uploaded-documents-and-availability-of-thumbnails/m-p/278031#M231161</guid>
      <dc:creator>nancyaggarwal</dc:creator>
      <dc:date>2013-07-12T12:36:45Z</dc:date>
    </item>
  </channel>
</rss>

