Issue
- We are facing an issue with the preview of files having '.potx' extension. We added the extension in System Settings > Documents and Media > Service and System Settings > Documents and Media > Item Selector View. After which we are able to upload the files to documents and media, but the preview is not being generated and it shows a message saying that there is no preview available for this file. We are using OpenOffice in the portal for file previews.
Environment
- DXP 2024.Q1.1
Resolution
-
The library Liferay currently uses for creating previews with OpenOffice does not support the '.potx' format at this time. In case this functionality is ever added to the library by OpenOffice we would consider implementing it then.
- As far as workarounds go neither LibreOffice nor PDFBox support '.potx' either. The only potential solution would be integrating Microsoft Office 365 which offers in-place editing of documents for '.potx' files though this is not covered by Liferay.
Additional Information
- https://learn.liferay.com/w/dxp/content-authoring-and-management/documents-and-media/uploading-and-managing/creating-documents/creating-and-editing-documents-with-microsoft-office-365
- https://learn.liferay.com/w/dxp/content-authoring-and-management/documents-and-media/devops/enabling-document-creation-and-editing-with-microsoft-office-365