<?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 PDF Renditions not working for Office formats using Viewer in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/pdf-renditions-not-working-for-office-formats-using-viewer/m-p/10792#M4784</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We are facing an issue with generation of PDF renditions for MS Office formats.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see in trace that it is successfully created pdf document but giving unable to load te preview of content error on the application. Also, when we navigate to the content location given in the log files in content store it is not found in the specified location.&lt;/P&gt;&lt;P&gt;There are no errors in the logs during rendition generation, it always shows rendition successfully generated.&lt;/P&gt;&lt;P&gt;2023-11-17 11:59:20,946 DEBUG [org.alfresco.repo.content.transform.TransformerLog] [pool-2-thread-9] 51 xlsm pdf INFO test.xlsm 187 KB 1,433 ms JodConverter&amp;lt;&amp;lt;Proxy&amp;gt;&amp;gt;&lt;BR /&gt;2023-11-17 11:59:20,946 TRACE [org.alfresco.repo.content.transform.TransformerDebug] [pool-2-thread-9] 51.1 Finished in 1,433 ms&lt;BR /&gt;2023-11-17 11:59:20,946 DEBUG [org.alfresco.repo.content.transform.AbstractContentTransformer2] [pool-2-thread-9] Completed transformation:&lt;BR /&gt;reader: ContentAccessor[ contentUrl=store://2023/11/14/16/17/53b5c197-f6e6-4cb0-b22c-2ee9c94df1bf.bin, mimetype=application/vnd.ms-excel.sheet.macroenabled.12, size=191537, encoding=UTF-8, locale=en_US]&lt;BR /&gt;writer: ContentAccessor[ contentUrl=store://2023/11/17/11/59/2e161acd-c765-44b6-b304-5be7507cf124.bin, mimetype=application/pdf, size=165373, encoding=UTF-8, locale=en_US]&lt;BR /&gt;options: {maxSourceSizeKBytes=-1, use=pdf, contentReaderNodeRef=workspace://SpacesStore/0ab8f567-b652-49d7-85fa-276c30b4fe9f, readLimitKBytes=-1, contentWriterNodeRef=null, pageLimit=1, flashVersion=9, timeoutMs=-1, maxPages=-1, sourceContentProperty=null, targetContentProperty=null, includeEmbedded=null, readLimitTimeMs=-1}&lt;BR /&gt;transformer: ProxyContentTransformer&lt;BR /&gt;2023-11-17 11:59:20,947 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-2-thread-9] 51 Finished in 1,435 ms&lt;/P&gt;&lt;P&gt;When we run the below script to generate the rendition, it is creating the rendition.&lt;/P&gt;&lt;P&gt;var document = search.findNode("");&lt;BR /&gt;var renderingEngineName = 'reformat';&lt;BR /&gt;var renditionDefinitionName = 'cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;df';&lt;BR /&gt;var renditionDef = renditionService.createRenditionDefinition(renditionDefinitionName, renderingEngineName);&lt;BR /&gt;renditionDef.parameters['mime-type'] = 'application/pdf';&lt;BR /&gt;var printRendition= renditionService.render(document, renditionDef);&lt;BR /&gt;print("printRendition---&amp;gt;"+printRendition);&lt;/P&gt;&lt;P&gt;Has anyone come across this situation?. Please suggest your thoughts and any solutions available to fix the issue?.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 14:44:18 GMT</pubDate>
    <dc:creator>maheshnaapaneni</dc:creator>
    <dc:date>2023-11-17T14:44:18Z</dc:date>
    <item>
      <title>PDF Renditions not working for Office formats using Viewer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/pdf-renditions-not-working-for-office-formats-using-viewer/m-p/10792#M4784</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;We are facing an issue with generation of PDF renditions for MS Office formats.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We see in trace that it is successfully created pdf document but giving unable to load te preview of content error on the application. Also, when we navigate to the content location given in the log files in content store it is not found in the specified location.&lt;/P&gt;&lt;P&gt;There are no errors in the logs during rendition generation, it always shows rendition successfully generated.&lt;/P&gt;&lt;P&gt;2023-11-17 11:59:20,946 DEBUG [org.alfresco.repo.content.transform.TransformerLog] [pool-2-thread-9] 51 xlsm pdf INFO test.xlsm 187 KB 1,433 ms JodConverter&amp;lt;&amp;lt;Proxy&amp;gt;&amp;gt;&lt;BR /&gt;2023-11-17 11:59:20,946 TRACE [org.alfresco.repo.content.transform.TransformerDebug] [pool-2-thread-9] 51.1 Finished in 1,433 ms&lt;BR /&gt;2023-11-17 11:59:20,946 DEBUG [org.alfresco.repo.content.transform.AbstractContentTransformer2] [pool-2-thread-9] Completed transformation:&lt;BR /&gt;reader: ContentAccessor[ contentUrl=store://2023/11/14/16/17/53b5c197-f6e6-4cb0-b22c-2ee9c94df1bf.bin, mimetype=application/vnd.ms-excel.sheet.macroenabled.12, size=191537, encoding=UTF-8, locale=en_US]&lt;BR /&gt;writer: ContentAccessor[ contentUrl=store://2023/11/17/11/59/2e161acd-c765-44b6-b304-5be7507cf124.bin, mimetype=application/pdf, size=165373, encoding=UTF-8, locale=en_US]&lt;BR /&gt;options: {maxSourceSizeKBytes=-1, use=pdf, contentReaderNodeRef=workspace://SpacesStore/0ab8f567-b652-49d7-85fa-276c30b4fe9f, readLimitKBytes=-1, contentWriterNodeRef=null, pageLimit=1, flashVersion=9, timeoutMs=-1, maxPages=-1, sourceContentProperty=null, targetContentProperty=null, includeEmbedded=null, readLimitTimeMs=-1}&lt;BR /&gt;transformer: ProxyContentTransformer&lt;BR /&gt;2023-11-17 11:59:20,947 DEBUG [org.alfresco.repo.content.transform.TransformerDebug] [pool-2-thread-9] 51 Finished in 1,435 ms&lt;/P&gt;&lt;P&gt;When we run the below script to generate the rendition, it is creating the rendition.&lt;/P&gt;&lt;P&gt;var document = search.findNode("");&lt;BR /&gt;var renderingEngineName = 'reformat';&lt;BR /&gt;var renditionDefinitionName = 'cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;df';&lt;BR /&gt;var renditionDef = renditionService.createRenditionDefinition(renditionDefinitionName, renderingEngineName);&lt;BR /&gt;renditionDef.parameters['mime-type'] = 'application/pdf';&lt;BR /&gt;var printRendition= renditionService.render(document, renditionDef);&lt;BR /&gt;print("printRendition---&amp;gt;"+printRendition);&lt;/P&gt;&lt;P&gt;Has anyone come across this situation?. Please suggest your thoughts and any solutions available to fix the issue?.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 14:44:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/pdf-renditions-not-working-for-office-formats-using-viewer/m-p/10792#M4784</guid>
      <dc:creator>maheshnaapaneni</dc:creator>
      <dc:date>2023-11-17T14:44:18Z</dc:date>
    </item>
  </channel>
</rss>

