Hello all my end goal is to import the file that user select from the form.
The folder can change and so is the file name. So this is like dynamic file names. I want to display all the files in form type. Later the user clicks the desired file from the form and the file my be opened.
I am not aware about a lot with UiPath. Can someone help if such thing is possible?
Files = System.IO.Directory.GetFiles(Folder) - Files is an Array of Strings
You can then use the Array in a User Input Dialog activity, with Files in the Options property. This will display either a dropdown or list of buttons that the user can select from:
The chosen file will then be outputted as a string and you can do whatever you need with it.
@william.coulson Thank you for the response. Do i use assign function? It will be better if you can share a short example. I am still in learning phase. Regards.
we do see that the last question is drifting away from the initial topic quesiton. As we prefer 1 Topic = 1 case (so thers can more easy find solutions) feel free to open a new topic when the following cheatsheet is not solving