Hi how to read pdf file into the tablular format? is there any activity for that?
Basically, UiPath provides three ways of extracting data from PDF:
- Get text activity with anchor base activity
- Read PDF Text activity
- Read PDF With OCR activity (this option is suggested when it’s not an original PDF file and is the last recommended since it’s prone to errors)
In your case, I would suggest to test those three options and check which one fulfill better your requirements. In my case, I had a project where I had to extract specific elements from the PDF and then I used the Read PDF Text activity to extract the whole text. After that, I split the text into an array of text lines and started to search the text I needed with functions like Substring, IndexOf, Split and so on.
I hope it helps.
Depending on the PDF structure, on 2016.2, the new Data Scraping wizard might be able to directly extract a table if the PDF is native (you can select the text). So you can also test that.
Thanks acaciomelo, will try this also.
Thanks Nicolae, so with the data scrapping we can get table.Hmm, i think this also good option. thanks again:)
Could you please let me know, what is the data type for reading each line in for each activity?