Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Analytics Tool Export Results in a new file to user's Downloads folder?

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.

3 REPLIES 3
Warcry
9 - Comet

**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")

 

 
 

Screenshot 2025-03-08 193207.png

 

caltang
17 - Castor
17 - Castor

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. 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Warcry
9 - Comet

Please accept this as the solution, thank you.

Labels
Top Solution Authors