<?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 Document preview modification in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201361#M154491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello to everyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to add one new surf page on Alfresco Share in order to use preview document feature outside a Share site (add a link on Alfresco Web-client to preview documents using Alfresco Share components). I think I can reuse document-details page and I have to change URL to access it. How do I change URL for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Change this&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/share/page/site/m" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/page/site/m&lt;/A&gt;&lt;SPAN&gt; … nodeRef….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to something similar to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/share/mydocument-" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/share/mydocument-&lt;/A&gt;&lt;SPAN&gt; … nodeRef….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with regards - Diego&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2008 12:27:12 GMT</pubDate>
    <dc:creator>dabada83</dc:creator>
    <dc:date>2008-12-29T12:27:12Z</dc:date>
    <item>
      <title>Document preview modification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201361#M154491</link>
      <description>hello to everyoneI want to add one new surf page on Alfresco Share in order to use preview document feature outside a Share site (add a link on Alfresco Web-client to preview documents using Alfresco Share components). I think I can reuse document-details page and I have to change URL to access it.</description>
      <pubDate>Mon, 29 Dec 2008 12:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201361#M154491</guid>
      <dc:creator>dabada83</dc:creator>
      <dc:date>2008-12-29T12:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview modification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201362#M154492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not sure I understand your question correctly, but it seems like you'd need to edit share\templates\document-details\document-details.js or share\WEB-INF\classes\alfresco\templates\org\alfresco\document-details.ftl or one of the included components.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 05:34:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201362#M154492</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-12-30T05:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Document preview modification</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201363#M154493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I should change the "document-details", but I'm not sure if I just change the templates. In line 131, share/templates/document-details/document-details.js" is the creation of URL to call the page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var itemUrl = YAHOO.lang.substitute("&lt;/SPAN&gt;&lt;STRONG&gt;site/{site}&lt;/STRONG&gt;&lt;SPAN&gt;/document-details?nodeRef={nodeRef}",&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to see the preview of a document that is not in Share, so I think we should not be necessary to have a site, but directly call webscript. Carried out some tests and confirmed that you can make previews of documents that are in web-client, but now you need a website, although the document is not in Share.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the first change I want to do, then I would remove some regions on document-details.ftl, but this seems easier to do because I only have to modify document-details.ftl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2008 14:57:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/document-preview-modification/m-p/201363#M154493</guid>
      <dc:creator>dabada83</dc:creator>
      <dc:date>2008-12-30T14:57:26Z</dc:date>
    </item>
  </channel>
</rss>

