<?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 Calling web-preview script from custom page in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-preview-script-from-custom-page/m-p/311699#M264829</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've successfully implemented a custom Share page which can preview a supported file from the repository using the WebPreviewer.swf file.&amp;nbsp; But I need to be able to preview other types of files as well, and I understand that uses a supported file that gets generated by alfresco (pdf2swf, which i got working on my development environment as well, works for the standard Share preview).&amp;nbsp; I'd prefer to just call /component/preview/web-previewer, the same script used by the document-details page, in my own .ftl page, which is at /share/page/mypage, but that isn't working for me.&amp;nbsp; Is it possible?&amp;nbsp; I've seen the new configuration for mime types and previewers, and I'd like to take advantage of that logic, without reinventing the wheel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what I get is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;lt;div id="unbound-region-web-preview"&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;from my include &amp;lt;@region id="web-preview" scope="global"/&amp;gt; (also tried template and page scope, same).&amp;nbsp; I'm developing this from an amp with maven sdk for version 5.0.a, if it makes a difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gene&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 21:34:09 GMT</pubDate>
    <dc:creator>gmccullough</dc:creator>
    <dc:date>2014-11-06T21:34:09Z</dc:date>
    <item>
      <title>Calling web-preview script from custom page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-preview-script-from-custom-page/m-p/311699#M264829</link>
      <description>I've successfully implemented a custom Share page which can preview a supported file from the repository using the WebPreviewer.swf file.&amp;nbsp; But I need to be able to preview other types of files as well, and I understand that uses a supported file that gets generated by alfresco (pdf2swf, which i got</description>
      <pubDate>Thu, 06 Nov 2014 21:34:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-preview-script-from-custom-page/m-p/311699#M264829</guid>
      <dc:creator>gmccullough</dc:creator>
      <dc:date>2014-11-06T21:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calling web-preview script from custom page</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-web-preview-script-from-custom-page/m-p/311700#M264830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;found this post, &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/edit-metadata-viewer-09082011-1719" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/forum/developer-discussions/alfresco-share-development/edit-metadata-viewer-09082011-1719&lt;/A&gt;&lt;SPAN&gt;, and I've got the component trying to load now.&amp;nbsp; Just need some additional includes now, thanks though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 22:29:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-web-preview-script-from-custom-page/m-p/311700#M264830</guid>
      <dc:creator>gmccullough</dc:creator>
      <dc:date>2014-11-06T22:29:27Z</dc:date>
    </item>
  </channel>
</rss>

