<?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: Disable XLSX Preview on Alfresco Share in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134013#M36074</link>
    <description>&lt;P&gt;Hi, sorry.&lt;/P&gt;&lt;P&gt;Do you have a ideia of:&lt;/P&gt;&lt;P&gt;disable the transformation from Office formats to PDF - then, as a result, web preview will also not be shown&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2023 20:55:18 GMT</pubDate>
    <dc:creator>marcog</dc:creator>
    <dc:date>2023-07-27T20:55:18Z</dc:date>
    <item>
      <title>Disable XLSX Preview on Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134011#M36072</link>
      <description>&lt;P&gt;Hello everybody.&lt;/P&gt;&lt;P&gt;I want to disable the visualization of .xlsx type documents in Alfresco Share 7.2. The thumbnail has already been successfully disabled, now what I want is to disable the document preview when I select it.&lt;/P&gt;&lt;P&gt;I don't want you to render it.&lt;/P&gt;&lt;P&gt;What I need is to disable the transform of xlsx files (they are big files) because they are taking more than 5 minutes to render and display in Share Web Preview, and this is leading to processing overhead in Alfresco.&lt;/P&gt;&lt;P&gt;Is there any way in alfresco-global.properties or share-config-custom about this?&lt;/P&gt;&lt;P&gt;Please, can anyone help me?&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:06:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134011#M36072</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2023-01-31T15:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disable XLSX Preview on Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134012#M36073</link>
      <description>&lt;P&gt;Please refer this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/disable-web-preview/td-p/68678" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/disable-web-preview/td-p/68678&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 03:13:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134012#M36073</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2023-02-03T03:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disable XLSX Preview on Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134013#M36074</link>
      <description>&lt;P&gt;Hi, sorry.&lt;/P&gt;&lt;P&gt;Do you have a ideia of:&lt;/P&gt;&lt;P&gt;disable the transformation from Office formats to PDF - then, as a result, web preview will also not be shown&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2023 20:55:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134013#M36074</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2023-07-27T20:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disable XLSX Preview on Alfresco Share</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134014#M36075</link>
      <description>&lt;P&gt;For this use case maybe implement a Surf extension module using a sub-component + evaluator to conditionally remove the web-preview component for ignore the web preview only for big xlsx is the better thing todo.&lt;/P&gt;&lt;P&gt;Here the "no-webpreview-for-big-xlsx-extension.xml" code:&lt;/P&gt;&lt;PRE&gt;&amp;lt;extension&amp;gt;
    &amp;lt;modules&amp;gt;
        &amp;lt;module&amp;gt;
            &amp;lt;!-- https://hub.alfresco.com/t5/ecm-archive/document-preview-on-and-off-on-user-request/m-p/259355 --&amp;gt;
            &amp;lt;id&amp;gt;no-webpreview-for-big-xlsx-extension&amp;lt;/id&amp;gt;
            &amp;lt;version&amp;gt;1.0&amp;lt;/version&amp;gt;
            &amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;&lt;BR /&gt;            &lt;STRONG&gt;&amp;lt;!-- HERE PUT A EVALUATOR FOR ACTIVATE THIS ONLY FOR XLSX &amp;gt; 10 MB OR SOMETHING LIKE THAT --&amp;gt;&lt;/STRONG&gt;
            &amp;lt;evaluator type="default.extensibility.evaluator"/&amp;gt;
            &amp;lt;configurations&amp;gt;              
                 &amp;lt;config evaluator="string-compare" condition="DocumentDetails"&amp;gt;
			      &amp;lt;document-details&amp;gt;
			         &amp;lt;!--  display web previewer on document details page, it should be
			         enough but for some reason seem not to work, so i override the sub-component --&amp;gt;
			         &amp;lt;display-web-preview&amp;gt;false&amp;lt;/display-web-preview&amp;gt;
			      &amp;lt;/document-details&amp;gt;
			   &amp;lt;/config&amp;gt;
            &amp;lt;/configurations&amp;gt;			
            &amp;lt;components&amp;gt;
				&amp;lt;component&amp;gt;
					&amp;lt;scope&amp;gt;template&amp;lt;/scope&amp;gt;
					&amp;lt;region-id&amp;gt;web-preview&amp;lt;/region-id&amp;gt;
					&amp;lt;source-id&amp;gt;document-details&amp;lt;/source-id&amp;gt;
					&amp;lt;sub-components&amp;gt;
						&amp;lt;sub-component id="default"&amp;gt;
							&amp;lt;evaluations&amp;gt;
								&amp;lt;evaluation id="hide"&amp;gt;
									&amp;lt;render&amp;gt;false&amp;lt;/render&amp;gt;
								&amp;lt;/evaluation&amp;gt;
							&amp;lt;/evaluations&amp;gt;
						&amp;lt;/sub-component&amp;gt;
					&amp;lt;/sub-components&amp;gt;
				&amp;lt;/component&amp;gt;
			&amp;lt;/components&amp;gt;
        &amp;lt;/module&amp;gt;
    &amp;lt;/modules&amp;gt;
&amp;lt;/extension&amp;gt;&lt;/PRE&gt;&lt;P&gt;Then replace the default evaluator with a customized one.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:08:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-xlsx-preview-on-alfresco-share/m-p/134014#M36075</guid>
      <dc:creator>AlfrescoZZZ</dc:creator>
      <dc:date>2023-07-28T13:08:12Z</dc:date>
    </item>
  </channel>
</rss>

