Enabling DOCX Resume Previewing Function on Recruitment Module

Enabling DOCX Resume Previewing Function on Recruitment Module

On-Site Clients on older Versions (below 7.x) reported having trouble previewing Resumes/CV's on the Recruitment Module where the Candidate has uploaded them as a DOCX or any other format other than PDF.

The solution for this issue was to install two packages related to LibreOffice (library) on the Client's Server. These packages were required for the DOCX to PDF Conversions that were dynamically handled from the backend. 

When the client reports such an issue please follow the below to validate and provide the resolution.

  1. Validate if soffice (LibreOffice) library is installed on the Client's Server. Run the below command to verify (modify the parameters as required). This would check if the required package is installed on the Server. If yes, the DOCX file will be converted as a PDF, otherwise, the message to Install required Packages will be displayed.
    1. soffice  --headless --convert-to pdf /path/to/input_file.docx  --outdir /tmp
      1. Eg: soffice  --headless --convert-to pdf /home/orangehrm/test.docx  --outdir /home/orangehrm
  2. Install the required packages if they are missing, using the below commands.
    1. sudo apt install libreoffice-common
    2. sudo apt-get install libreoffice-writer
  3. Check from Front-end if DOCX Resumes are loading properly on the Preview Function.
Additional Notes:

Client Reported: Rutgers
Version: 6.4.9 (Custom)
Ticket: #7765 Not able to view candidates resumes

    • Related Articles

    • On-Site Client Automated Backup Script

      Requirement: Onsite clients may request for automated backup scripts to be deployed on their servers for daily backups. Use: Deploy the below script on the clients server along with a specific cron-task setup for backups to be taken on a pre-defined ...
    • SSL Certificate Updation - Onsite Clients

      This KB was generated with Volante Technologies in mind as the client has a minor difference in how they update these certificates on their side (Azure Front Door). The certificate validity shows correctly when checking on the browser, however, on ...
    • What to know about Online training module (OTM)

      The online training module (OTM) is a separate module developed by the professional (PS) team. This is not part of the OrangeHRM base product. It is a separate build.  The video below contains the basics of the module. This video is based on the ...