Reading the full path and filename for any file selected
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
- Labels:
- Input
- Interface Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
