<?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: html file with a clickable list of documents in a folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48613#M27842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Kevin, thank you for your reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll to go more in deep about my needs…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to integrate the contents of my Alfresco 1.4 Server with a Liferay Portal Server 4.2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you know, Liferay released a Alfresco Content Portlet - this portlet displays one file from an Alfresco's folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll automatically create a Html file in all folders of the Alfresco Server so I can point this Html file from the Liferay Content Portlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the body of this Html I need a download link to any files in this folder, so the user of the portlet can download the file directly from the Alfresco's folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do that with JavaScript API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your more help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ivano C.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2007 15:53:35 GMT</pubDate>
    <dc:creator>icarrara</dc:creator>
    <dc:date>2007-03-12T15:53:35Z</dc:date>
    <item>
      <title>html file with a clickable list of documents in a folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48611#M27840</link>
      <description>Hi!&amp;nbsp; I'm new to Alfresco.I deployed the 1.4 version and I'm using it without problems.Now I'm trying to automatically generate an index.html file in every folder.This html file have to include a list of all files in that folder.So I can use this index.html in other client or website to reach the doc</description>
      <pubDate>Sat, 10 Mar 2007 16:52:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48611#M27840</guid>
      <dc:creator>icarrara</dc:creator>
      <dc:date>2007-03-10T16:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: html file with a clickable list of documents in a folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48612#M27841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to generate and modify a file then you would be best to use the JavaScript API. You can create and modify files, list the contents of folders and build up any output you like using it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/JavaScript_API&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at the installed scripts in your Alfresco installation that do something similar to what you want as an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Company Home/Data Dictionary/Scripts/backup and log.js'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you'll see that the example creates and modifies a file in the current directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You simply need to create an INBOUND rule in the folder that you want to create your index.html file in and select the script you want to execute in the Create Rule wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 15:35:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48612#M27841</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-03-12T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: html file with a clickable list of documents in a folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48613#M27842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Kevin, thank you for your reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll to go more in deep about my needs…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to integrate the contents of my Alfresco 1.4 Server with a Liferay Portal Server 4.2.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you know, Liferay released a Alfresco Content Portlet - this portlet displays one file from an Alfresco's folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll automatically create a Html file in all folders of the Alfresco Server so I can point this Html file from the Liferay Content Portlet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the body of this Html I need a download link to any files in this folder, so the user of the portlet can download the file directly from the Alfresco's folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can I do that with JavaScript API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance for your more help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ivano C.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 15:53:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48613#M27842</guid>
      <dc:creator>icarrara</dc:creator>
      <dc:date>2007-03-12T15:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: html file with a clickable list of documents in a folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48614#M27843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes the JavaScript API can be used to generate links or any other HTML you want in the destination file. It is easy to build up links to documents - take a look at some of the example templates in 'Company Home/Data Dictionary/Presentation Templates' such as the RSS one as that builds up links - you can use similar techniques when outputing your page in JavaScript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2007 16:16:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/html-file-with-a-clickable-list-of-documents-in-a-folder/m-p/48614#M27843</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-03-12T16:16:17Z</dc:date>
    </item>
  </channel>
</rss>

