Is there a way to write an Analytics App that exports the results of the workflow to the user's Downloads folder with a new filename.
I'm trying to make a workflow that doesn't need to ask the user where to save the results.
Solved! Go to Solution.
**This will only work if the App is run on that person's PC (local). It will not work running it on Alteryx Server.**
Use the formula tool to build the Path.
Example: C:\Users\WarCry\Downloads\myfile.xlsx
Use the following formula to get the users USERNAME:
GetEnvironmentVariable("USERNAME")
You could also make it dynamic by allowing options to users to save in their desired directory. If no option is selected, the default goes to Downloads folder. What @Warcry did is excellent for your usecase.
Please accept this as the solution, thank you.