I’m currently attempting Assignment 3, and in one portion of the walkthrough(WT), they asked to save your folder via this method so it will redirect you to the folder you’ve configured in the Config Excel file. However, for me, the issue is that even after assigning the path value, the file still saves at the default ‘Download’ folder. Can anybody please assist?
Well, simply use a write line activity, and see if it has a value like “C:\Users\ *****\Documents\UiPath\GenerateYearlyReport\Performer\Data\Temp” and this path must be type when you download the report, are you doing that?
As you can see, by the exception, the ReportFilePath has been assigned with the values correctly, it just doesn’t save and I’m unsure how to go about this:
Do you have the folder Data\Temp created? and you see the path being typed into the input? Also, don’t type the text in into the edit on top, but on the File Name input at the bottom, near Save button, on top of the file type.
I’ve used different approach in Assign activity, i’ve used Directory.GetCurrentDirectory to get the current directory and then just used String concatenation to make up my Download string that i’ve used later
Yeah, that’s what I’m trying to tell you. It’s not working. As you can see from the exception, the file path is stored in ReportFilePath correctly when reading the CSV, but because before that it didn’t save under the assigned named and folder (saved as default name in the default folder, “Downloads”) it throws an exception.