<?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 How to redirec to a specific folder from within a webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235662#M188792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am modifying the simple 'upload" webscript example so that it takes args which specify the place to put the file (path) and the filename itself. Users must authenticate themselves to use the script.&amp;nbsp; All are working fine. What I would like to do next is, upon successful; redirect to the screen Alfresco webclient screen and straight to the directory where the file is persisted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the status code 303 such as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;status.code = 303;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;status.redirect = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;status.location = "&lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/browse/browse.jsp" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/faces/jsp/browse/browse.jsp&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will only direct me to the top level of my home directory, not to the location where the file is saved. But then again how do I pass the file location into the URL? Or is there any other better way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Glenn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2009 06:44:55 GMT</pubDate>
    <dc:creator>gtj</dc:creator>
    <dc:date>2009-07-21T06:44:55Z</dc:date>
    <item>
      <title>How to redirec to a specific folder from within a webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235662#M188792</link>
      <description>Hi,I am modifying the simple 'upload" webscript example so that it takes args which specify the place to put the file (path) and the filename itself. Users must authenticate themselves to use the script.&amp;nbsp; All are working fine. What I would like to do next is, upon successful; redirect to the screen</description>
      <pubDate>Tue, 21 Jul 2009 06:44:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235662#M188792</guid>
      <dc:creator>gtj</dc:creator>
      <dc:date>2009-07-21T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to redirec to a specific folder from within a webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235663#M188793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please see &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/URL_Addressability" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/URL_Addressability&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 08:32:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235663#M188793</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-07-21T08:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to redirec to a specific folder from within a webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235664#M188794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the tip Mike - it helped.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 00:53:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-redirec-to-a-specific-folder-from-within-a-webscript/m-p/235664#M188794</guid>
      <dc:creator>gtj</dc:creator>
      <dc:date>2009-07-23T00:53:11Z</dc:date>
    </item>
  </channel>
</rss>

