Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Prompt user to choose all files, latest file or only specific set of files analytical apps

Sumaya52
6 - Meteoroid

Hello everyone,

 

I want to create an analytical app that prompts the user to read all files in the chosen directory or only the latest file (based on year on the file name) or allows the user to choose specific files by showing all files using check list tool. And then I want to send the final result to a macro.

 

Any one has an idea on how to do that?

3 REPLIES 3
FinnCharlton
13 - Pulsar

Hi @Sumaya52 , here is the framework for the interface part of this challenge. All it should need is a dynamic input to import the files. In short, we use radio buttons to allow the user the choose the option they want. The choice of radio button determines how we filter the results of the directory tool. We can allow the user to select files with the list box tool. Hope this helps!

FinnCharlton_0-1681996033808.png

 

AdamR_AYX
Alteryx Alumni (Retired)

I went with a chained app approach to allow the user to be able to choose specific files

 

AdamR_0-1681997219798.pngAdamR_1-1681997231357.png

 

Adam Riley
https://www.linkedin.com/in/adriley/
Hanspeter
7 - Meteor

@FinnCharlton : I like your approach. Unfortunately, the directory tool does not automatically update when running as an analytic app when files are added or removed to the folder (option "select file"). Any idea how to make it update the files to select from?

@Sumaya52 or @AdamR_AYX ) 

Labels