PDF Renditions not working for Office formats using Viewer
We are facing an issue with generation of PDF renditions for MS Office formats.
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.
There are no errors in the logs during rendition generation, it always shows rendition successfully generated.
When we run the below script to generate the rendition, it is creating the rendition.
var document = search.findNode(""); var renderingEngineName = 'reformat'; var renditionDefinitionName = 'cmdf'; var renditionDef = renditionService.createRenditionDefinition(renditionDefinitionName, renderingEngineName); renditionDef.parameters['mime-type'] = 'application/pdf'; var printRendition= renditionService.render(document, renditionDef); print("printRendition--->"+printRendition);
Has anyone come across this situation?. Please suggest your thoughts and any solutions available to fix the issue?.