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
6 - Meteoroid

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.

2 REPLIES 2
Raj
15 - Aurora

@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,

Labels