Hi @Novak ,
It's working for me.
I've attached the workflow as a package which contains the macro.
I've attached the macro separately as well.
M.
You can just put that tool in a macro, use the Directory tool to return the file paths of all files you want to load in and feed these file paths into the macro as a control parameter.
In the macro, attach the control parameter to the PDF tool and overwrite the first field with the parameter value:
This is a batch macro and will loop through all PDF files in order.
Hope this helps.
Hello @mceleavey
Erroring out. Believe I am having issues properly "feeding file paths" into macro as control parameter:
So I have used directory tool to generate PDF file paths into an Excel File.
Believe I have properly selected this Excel file with file paths to use as control parameter.
Error, do I need to somehow reference the file paths better? Currently its just the file path to the Excel workbook holding PDF file paths generated by directory:
Hi @Novak,
I have tested this and the solution build by @mceleavey work.
I have added one small add on for me that will show you the name of the file you have loaded as probably you will need this sooner or later.
@Novak Are you able to use this tool? It is giving me the below error when I connect a single PDF file to it. What else did you install and configure before being able to use this tool? Thanks in Advance
also having trouble with this tool upon upgrade to most recent version...
This will work perfectly when you are using Non-Admin version of Alteryx as it install R packages during run time.
have you been able to get it to work with the most recent version?
I am working in 2021.1 and it is working fine after installing Non-Admin Alteryx Predictive Tools (RNonAdminInstall_2021.1)
But you can run it on other versions as well after installing R Packages (pdftools, tesseract, Rcpp) on your system.