Skip to content

Subtask that converts a PDF file uploaded via LivePortal to a .txt file

License

Notifications You must be signed in to change notification settings

IntelligentAutomationCommunity/Cortex-Convert-PDF-to-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Cortex-Convert-PDF-to-Text

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

i_inputfile

The full path to the pdf file e.g. C:\inetpub\Cortex\LivePortal\Upload\guid\pdf_file.pdf

o_text

The converted text as a large text variable

o_outputfile

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

Installation Instructions

Download the Studio Package file and Import it into your Cortex Environment. Don't forget to apply rights using the Studio Authorization module.

๐Ÿ‘ Enjoy! ๐Ÿ˜‰

About

Subtask that converts a PDF file uploaded via LivePortal to a .txt file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published