<?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 Accessing node details page from web script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225266#M178396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a web script that does a lucene search for documents that have certain values for custom metadata fields.&amp;nbsp; The ftl that displays the results includes a link to the content of the node:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#list resultset as result&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;a href="${url.serviceContext}/api/node/content/${result.node.nodeRef.storeRef.protocol}/${result.node.nodeRef.storeRef.identifier}/${result.node.nodeRef.id}/${result.name?url}/?guest=true"&amp;gt;Link&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;lt;#list&amp;gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to include a link to the node's detail page that would allow users (after logging in) to edit the metadata for the node.&amp;nbsp; Is this possible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Mar 2010 22:43:58 GMT</pubDate>
    <dc:creator>slothrop</dc:creator>
    <dc:date>2010-03-11T22:43:58Z</dc:date>
    <item>
      <title>Accessing node details page from web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225266#M178396</link>
      <description>I have a web script that does a lucene search for documents that have certain values for custom metadata fields.&amp;nbsp; The ftl that displays the results includes a link to the content of the node:&amp;lt;#list resultset as result&amp;gt;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;a href="${url.serviceContext}/api/node/content/${result.nod</description>
      <pubDate>Thu, 11 Mar 2010 22:43:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225266#M178396</guid>
      <dc:creator>slothrop</dc:creator>
      <dc:date>2010-03-11T22:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing node details page from web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225267#M178397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I try something like (in I.E.8):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;td&amp;gt;&amp;lt;a href="${url.context}/navigate/showDocDetails/webdav/${result.node.nodeRef.storeRef.protocol}/${result.node.nodeRef.storeRef.identifier}/${result.node.nodeRef.id}"&amp;gt;Details Link&amp;lt;/a&amp;gt;&amp;lt;/td&amp;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;SPAN&gt;I get a popup that says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The webpage you are viewing is trying to close the tab.&amp;nbsp; Do you want to close this tab?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;A blank page appears when I click No.&amp;nbsp; Mozilla Firefox doesn't give me the popup.&amp;nbsp; It just gives me the blank page.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2010 23:32:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225267#M178397</guid>
      <dc:creator>slothrop</dc:creator>
      <dc:date>2010-03-11T23:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing node details page from web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225268#M178398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. look at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 17:37:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225268#M178398</guid>
      <dc:creator>mabayona</dc:creator>
      <dc:date>2010-03-12T17:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing node details page from web script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225269#M178399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, mabayona.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been looking at the URL Addressability page.&amp;nbsp; What I found was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;td&amp;gt;&amp;lt;a href="${url.context}/navigate/showDocDetails/webdav${result.node.displayPath}"&amp;gt;Details Link&amp;lt;/a&amp;gt;&amp;lt;/td&amp;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;SPAN&gt;Which generates urls like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A href="http://localhost:8080/alfresco/showDocDetails/webdav/company_home/JCE/Journal/Issues/1977/Nov" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/showDocDetails/webdav/company_home/JCE/Journal/Issues/1977/Nov&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Leads to the browser trying to close the tab.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;td&amp;gt;&amp;lt;a href="${url.context}/navigate/browse/${result.node.nodeRef.storeRef.protocol}/${result.node.nodeRef.storeRef.identifier}/${result.node.nodeRef.id}"&amp;gt;Details Link&amp;lt;/a&amp;gt;&amp;lt;/td&amp;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;Which generates urls like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;A href="http://localhost:8080/alfresco/navigate/browse/workspace/SpacesStore/2c0aa7d7-a49d-4c90-86ad-9679f2de60f3" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/navigate/browse/workspace/SpacesStore/2c0aa7d7-a49d-4c90-86ad-9679f2de60f3&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Takes me to the node.&amp;nbsp; I can open the details page but since I have only guest access, I can't edit the metadata.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping that I would be redirected to the login page before the details page so I could edit the metadata.&amp;nbsp; I think that showDocDetails is supposed to do this but every permutation I have tried on that hasn't worked.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 00:34:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-node-details-page-from-web-script/m-p/225269#M178399</guid>
      <dc:creator>slothrop</dc:creator>
      <dc:date>2010-03-13T00:34:46Z</dc:date>
    </item>
  </channel>
</rss>

