<?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: Accessing the node ref in custom java class in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299290#M252420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One alternate option is - you can simply use the out-of-the-box api/node webscript to stream the content. You can use HttpClient to invoke the webscripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Get the authentication ticket using out-of-the-box login webscript - &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=admin" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=admin&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; and then use the ticket to invoke&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/noderef?alf_ticket=alf_ticket" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/noderef?alf_ticket=alf_ticket&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 11:16:00 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2014-05-16T11:16:00Z</dc:date>
    <item>
      <title>Accessing the node ref in custom java class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299289#M252419</link>
      <description>Hi TeamI have the requirement like to download the file from alfresco repository to custom java class, so far I am able to get the node ref in my java class .By using the node ref I am not able to get the file downloaded in my java class .Can you please provide me the sample code to get the file in</description>
      <pubDate>Fri, 16 May 2014 10:19:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299289#M252419</guid>
      <dc:creator>srik</dc:creator>
      <dc:date>2014-05-16T10:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the node ref in custom java class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299290#M252420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One alternate option is - you can simply use the out-of-the-box api/node webscript to stream the content. You can use HttpClient to invoke the webscripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Get the authentication ticket using out-of-the-box login webscript - &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=admin" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/login?u=admin&amp;amp;pw=admin&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; and then use the ticket to invoke&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;A href="http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/noderef?alf_ticket=alf_ticket" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/noderef?alf_ticket=alf_ticket&lt;/A&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 11:16:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299290#M252420</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-05-16T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the node ref in custom java class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299291#M252421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You should replace whitespace in your path( filename) with _x0020_&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;try with&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;PDFTron_x0020_PDF2SVG_x0020_User_x0020_Manual.pdf&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way why not use opencmis api?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 May 2014 06:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299291#M252421</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-05-17T06:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing the node ref in custom java class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299292#M252422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want use Opencmis for get a element in alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How i can use Cmis in this example?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 12:11:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-the-node-ref-in-custom-java-class/m-p/299292#M252422</guid>
      <dc:creator>gonial</dc:creator>
      <dc:date>2015-06-17T12:11:13Z</dc:date>
    </item>
  </channel>
</rss>

