Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

How to bypass image input tool error in Alteryx if pdf is password protected

mahendra0393
7 - Meteor

Hi,

I have prepared the batch macro to scan pdfs from latest month client folder with the help of image input and image to text tool but image input tool is throwing error when pdf is password protected. Is there any way to skip password protected pdfs or bypass image input tool error.

3 REPLIES 3
Raj
16 - Nebula

@mahendra0393 

  • Directory Tool: Retrieve a list of all PDFs in the folder.
  • Python Tool: Check each PDF for password protection and add a column indicating protection status.
  • Filter Tool: Filter out protected PDFs.
  • Image Input Tool: Process only the non-protected PDFs.

    hope this helps.

 

 

Geoff_Noyes
5 - Atom

Could you please provide the Python code and any packages that would need to be installed?

 

Thanks,

mahendra0393
7 - Meteor

Hi @Raj ,

 

Thanks, Do you have python script. I'm new to python.

 

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels