We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic default values for Alteryx Apps.

edseltan22
5 - Atom

Currently, we can set default values for Apps. However, for the user's convenience, I would like the default value to be the previous user input that was given. I tried to change the XML but I was unable to actually run it. How else should I work around it? Thank you!

2 REPLIES 2
OTrieger
14 - Magnetar

@edseltan22 
Can you please share a snippet of what you did so far.

My only thought, and this is only a guess, as did not  see the configuration will be that in order to get the last value that was in use you will need to run the data so that value will be refreshed and appear on the user interface. 

The default value that you will see on the user interface will be the previous value from the run previous to the previous run. The user entered a new value and run the automation, so the values were changes, but not on the User interface, you will need to have one more run so it will be reflected on it. So the tool itself will be refreshed with the data.

gawa
16 - Nebula
16 - Nebula

I'm not sure this is the best way but I was able to update default value by replacing the value of "Default value" of Interface tool in XML of the WF.

For just in case, I applied the Control Container to rewrite XML after main process ends.(and, it seems succeeded by doing so)

<Default value="60" />

image.png

 

In order to reflect update of default value, you need to exit apps and open it again. I could not find the way to update it without having to exit app.

variable_default_value.gif

Labels
Top Solution Authors