Liferay DXP 7.2 | Configuring Document Previews
Nov 3 · 2 min read
Liferay DXP 7.2 can be configured for fast and high-quality document previews. But the process is a bit different than previous iterations of Liferay. Below are the configuration steps :
- Download and Install Apache Open Office. You can get the software from here.
- Configure Open Office to start in server mode by editing the ${OfficePath}/share/main.xcd and edit the tag <prop oor:name=”ooSetupConnectionURL”/> as below :
- Launch Open Office Software and verify Open Office listener with the following command :
netstat -nao|findstr -c”:8100"- Download & Install ImageMagick & GhostScript
- Startup Liferay Server
- Configure Open Office integrations from Control Panel > Configuration > System Settings > Connectors

- Configure ImageMagick & GhostScript from Control Panel > Server Administration > External Services

- Upload documents in Documents and Media Library to see the preview. (Click on the document’s name. It will show a message that the preview generation is ongoing. Reload after some time.)

