Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Modify PDF document name, based on data inside the PDF

JarkkoP
7 - Meteor

Hi! I would need to modify about 300 PDF documents name, with text taken from inside the individual PDF. Is this possible to do with Alterys

2 REPLIES 2
IraWatt
17 - Castor
17 - Castor

Hey @JarkkoP,

for the first task I think there's at least 4 ways in Alteryx to read data from PDF. This article covers one of them Can Alteryx Parse A Word Doc Or PDF? - Alteryx Community. You would probably need to loop through each pdf file separately for that you could use an iterative macro Creating an Iterative Macro - Alteryx Community and for re-naming you can do this: Solved: Renaming files at system level - Alteryx Community

 

Probably best to start with one file then try the iterative macro, 

CathyS_Slalom
9 - Comet

Hi @JarkkoP , you can download the prebuilt tool from the Gallery: https://gallery.alteryx.com/#!app/PDF-Input--Text-and-Image-/5be5ec8d0462d71ffce6deaa which will add the pdf input to your Designer toolbar. 

PDF Input: https://community.alteryx.com/t5/Public-Community-Gallery/PDF-Input/ta-p/887038 

CathyS_Slalom_0-1654725722840.png

After you installed properly, you can use the wildcard to read in the pdfs that you want under the input directory, the result has 2 columns, one is value and one is the file name.

CathyS_Slalom_1-1654726401621.png

 

Labels