Alteryx Designer Desktop Discussions

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

Reading the full path and filename for any file selected

NeilFisk
9 - Comet

I'm using a File Browse Tool from the Interface group where I want to allow the user to select a particular file. The file happens to be a PDF file with a PDF extension which I will manipulate with R downstream.  The issue I have is that I do not know how to store the actual full path and filename for a file that is not one of those that Alteryx Designer actually works with - in this case the PDF.  How do I have the user select the file and store that information for downstream use?

2 REPLIES 2
DataNath
17 - Castor
17 - Castor

@NeilFisk do you just need to select a file to get those particular bits of information? Could use something like the following approach if so:

 

DataNath_0-1664831901890.png

NeilFisk
9 - Comet

Nathan,

 

That's pretty close.  I was starting with that because I was looking to get all the PDF files in a folder and then I wanted to expand to allow the user to select either a folder or a particular file.  Where I was running into issues was the particular file.  My issue was I started with an Input Tool and realized that "PDF" was not a file format that Alteryx liked, so I selected a "CSV" file format and delimiter of \0 with the first row not containing field names.  I then opted to output file name as field and select "Full Path" - it was this "Full Path" that I wanted to pass along. 

 

I've attached what I ended up with.  Thanks for the help.

 

Neil 

Labels
Top Solution Authors