Subtask that converts a PDF file uploaded via LivePortal to a .txt file It will check where LivePortal is installed and ensures that a folder called ExternalDocs exist. For each file taken from the default upload location it will create a new export folder under ExternalDocs. It will then move the pdf file from the Upload location to the Export folder where it will create a new filename but with extension .txt Next, it will convert the pdf to text and write it into that new .txt file
It is using the following variables
The full path to the pdf file e.g. C:\inetpub\Cortex\LivePortal\Upload\guid\pdf_file.pdf
The converted text as a large text variable
The full path to the converted text file e.g. C:\inetpub\Cortex\LivePortal\ExternalDocs\guid\pdf_file.txt
When Cortex Gateway is installed in a different folder than the standard, the path should be updated in variable pdf2txt-path
Download the Studio Package file and Import it into your Cortex Environment. Don't forget to apply rights using the Studio Authorization module.
👍 Enjoy! 😉