This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Early bird tickets for Inspire 2023 are now available! Discounted pricing closes on January 31st. Save your spot!
Hi all--
I have a bunch of sales files with different information in the filename... let's use store number as an example. I can parse the filename to get said store numbers, but I want to be able append the store number to the sales data. When I use a Dynamic Input after using a Directory tool, the filenames don't pass through. I then have no way of identifying which line of data came from which file, so I can't add store number to the individual lines of data.
Does anyone know if there's a way to pass the filename or other downstream information through a Dynamic Input tool?
Thanks!
-Zach
Solved! Go to Solution.
Hi zachwalz,
Take a look at the great solution that @CameronS came up with. From the outputed data you can then pull out the information from the filename that you're wanting.
Hey Zack, there is a setting in the dynamic input to output the file name or file path, i gave it a shot and gives me what i need. Have you tried that?
Jack
Ah I was missing it in the template portion. I was looking the actual tool configuration. Thanks so much!
Hi everyone,
What if I have a text tool (Or any other) before the dynamic input, with more than the sheet name field, and I want it after de dynamic input, to be a part of the data?
@jack_morgan wrote:Hey Zack, there is a setting in the dynamic input to output the file name or file path, i gave it a shot and gives me what i need. Have you tried that?
Jack