Start Free Trial

Alteryx Designer Desktop Discussions

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

List Box External Source Dynamic File Path

alv728
8 - Asteroid

Hello! I am building a chained apps that creates unique files based on the user running the app to avoid saving over the same file when it's running concurrently. I have captured the userid and am writing files with that value to read in as inputs for the second app. The issue I'm running into is there are 2 list boxes that read name/value from an external source and I cannot find a good way to update the file path to reflect the unique users file. Is there a way to dynamically update the file path either with an interface tool or by referencing the userid directly?

 

For example if I've captured a userid of ######## in the first step, I would like to change the file name from 'userSeedListLoaderListBox.yxdb' to '########SeedListLoaderListBox.yxdb'.

alv728_0-1604008400824.png

Is this possible or is there any other way to configure the chained app so there's not a risk of overwriting files if 2 users are using the same app at the same time?

1 REPLY 1
AkimasaKajitani
17 - Castor
17 - Castor

If the users is another Windows user, you can use GetEnvironmentVariable("USERNAME")  function at specialized category.

Labels
Top Solution Authors