<?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 session ticket not available in custom document library action javascript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/session-ticket-not-available-in-custom-document-library-action/m-p/288162#M241292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to open a document by way of a second server running a custom document renderer. The problem I've run into is that the javascript referenced from the action tag in share-config-custom.xml appears to lack access to many of the Javascript root variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In particular, "session" is not available. Its ticket property is necessary for the other system to retrieve the document from Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm currently getting 401s. My Alfresco extension embeds a URL for its document within a URL that drives the render system's RESTful interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way to navigate from whatever objects -are- in scope for the Javascript to the session ticket I need?&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;Dan Hankins&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Mar 2013 20:50:57 GMT</pubDate>
    <dc:creator>danielh</dc:creator>
    <dc:date>2013-03-11T20:50:57Z</dc:date>
    <item>
      <title>session ticket not available in custom document library action javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-ticket-not-available-in-custom-document-library-action/m-p/288162#M241292</link>
      <description>I'm trying to open a document by way of a second server running a custom document renderer. The problem I've run into is that the javascript referenced from the action tag in share-config-custom.xml appears to lack access to many of the Javascript root variables.In particular, "session" is not avail</description>
      <pubDate>Mon, 11 Mar 2013 20:50:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-ticket-not-available-in-custom-document-library-action/m-p/288162#M241292</guid>
      <dc:creator>danielh</dc:creator>
      <dc:date>2013-03-11T20:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: session ticket not available in custom document library action javascript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/session-ticket-not-available-in-custom-document-library-action/m-p/288163#M241293</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;the client side JavaScript reference by action configuration is executed within the browser and has access to none of the documented root objects of Alfresco JavaScript API which relates to server side JavaScript. Your best bet would be to include the session ticket you require as a &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdoclib-repository-tier.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fdoclib-repository-tier.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;custom response&amp;lt;/a&amp;gt; which you can access via metadata.custom on the client side to incorporate into whatever Share UI structure you require.&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>Tue, 12 Mar 2013 09:00:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/session-ticket-not-available-in-custom-document-library-action/m-p/288163#M241293</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-03-12T09:00:09Z</dc:date>
    </item>
  </channel>
</rss>

