File Path pushed to dropdown list

Hi, I’m trying to create the ability to look a different txt files to achieve different tasks to populate data in a model. I have a code with embedded data stored in a dropdown list. I’ve been doing some simple tests and able to read an external txt file in the dropdown list as pictured. I’m looking for a method to be able for the user to select the txt file from a selected file path and push the file path to the dropdown list. I’ve tried various methods now, any assistance would be helpful.

1 Like

hey there @Greyboots !

Your best option here is the new “sequence” feature that was introduced since 1.9.x .

In the first step, you can have the user browse for the file. Then in the second step, you can use the inputs from the first step!

For example , if i have a dummy text file that looks like this :

Here’s a little video on how to use it to fill a dropdown input :

Hi, thank you for providing the solution. I wasn’t aware of the ‘add step’ function. I should be able to carry this forward in the development of tools.

1 Like

It’s really our bad for not communicating / documenting it properly. Never hesitate to reach out :slight_smile: