<?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 Launching directly into a space in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160299#M114279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am customising the existing 'out of the box' UI and would like to provide links from a 3rd party application that lauches the user into a particular folder space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I know this is possible by calling the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://[domain]:[port]/[context" rel="nofollow noopener noreferrer"&gt;http://[domain]:[port]/[context&lt;/A&gt;&lt;SPAN&gt; path]/n/browse/workspace/SpacesStore/990c1661-07c9-11dd-9dbc-355e1e9aa365&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This calls the org.alfresco.web.app.servlet.ExternalAccessServlet and it is here that I am looking to extend the functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this scenario the 3rd party app has to provide the link to launch into the space in Alfresco - however it will not know the space store location. What they will have is a unique id which they will pass in as a request param - this id could map to the description of the folder in Alfresco when it is initially created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I would like to search for all folders within Alfresco that have a description matching the id passed in the URL. If more than one then throw an error. If one is found check permissions and then display the browse page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody has to integrate anything like this before and if so what approach did you take?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 16:38:45 GMT</pubDate>
    <dc:creator>davidturner90</dc:creator>
    <dc:date>2008-04-17T16:38:45Z</dc:date>
    <item>
      <title>Launching directly into a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160299#M114279</link>
      <description>I am customising the existing 'out of the box' UI and would like to provide links from a 3rd party application that lauches the user into a particular folder space.I know this is possible by calling the http://[domain]:[port]/[context path]/n/browse/workspace/SpacesStore/990c1661-07c9-11dd-9dbc-355e</description>
      <pubDate>Thu, 17 Apr 2008 16:38:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160299#M114279</guid>
      <dc:creator>davidturner90</dc:creator>
      <dc:date>2008-04-17T16:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Launching directly into a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160300#M114280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would write a short web script which takes as a parameter the description value, and performs a Lucene search to look for matching nodes. The script could either return a short piece of XML or some plain text containing the space URL which is then used by your application, or it could return some actual HTML which performs the redirection in the user's browser directly using JavaScript. Or both, as web scripts can support multiple response formats. Error handling is also supported OOTB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One last thing - while using the description field is quite valid, you should really be using your own model to hold these external ID values so that they cannot be accidentally changed in the web client. You could also implement a custom constraint to force uniqueness.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 09:05:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160300#M114280</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2008-04-21T09:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Launching directly into a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160301#M114281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great post Will - very helpful.&amp;nbsp;&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have one question - you say I should be using a custom model to hold the unique id rather than trying to force it into the description - I absolutely agree with you and would feel more comfortable doing it this way. Is there any information or guide on creating a custom model? Is it easy to do? and where would it be stored? For example, would I have to create my own DB table to hold this data?&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;David&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 12:49:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/launching-directly-into-a-space/m-p/160301#M114281</guid>
      <dc:creator>davidturner90</dc:creator>
      <dc:date>2008-04-23T12:49:57Z</dc:date>
    </item>
  </channel>
</rss>

