Dev Space

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.
SOLVED

How to Choose multiple files in analytic app

AS
8 - Asteroid

Hi Experts,

 

I'm a newbie here who is creating apps first time and learning creation of apps.

I'm putting a list box to select multiple file and all those user will select comes as a input file in my application. I tried with possible method but could not get a perfect way. If you could help me that would be supper supportive of you guys.

 

 

thanks in advance

 

11 REPLIES 11
RishiK
Alteryx
Alteryx

@AS a similar question has been posted previously. Check it out here:

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/User-prompts-for-selecting-multiple-fi...

atcodedog05
22 - Nova
22 - Nova

@RishiK Glad you were able to find this post. 

 

Good old days when .zip file format was supported in Alteryx Community post 🙂 nowadays support is stopped.

 

@AS this method is also supported on Gallery. Since Folder Browse is not supported on the server.

AS
8 - Asteroid

Hi I want to create something like this app

AS
8 - Asteroid

if you could help me to create this app this would be so helpful

atcodedog05
22 - Nova
22 - Nova

Hi @AS 

 

This can be implemented using chained app. If it is implemented in a single App the select box options wont be dynamic.

 

App -1: Files Data and File List (list of options which will be used in next step)

atcodedog05_0-1631895711821.png

App -2: Gives you the option and lets you select. Option for list box is loaded from select tool.

atcodedog05_1-1631895789625.png

 

App run: App -1

atcodedog05_2-1631895828648.png

Clicking on continue will trigger the next app.

atcodedog05_3-1631895870095.png

 

Resources on chained App :

https://community.alteryx.com/t5/Interactive-Lessons/Chaining-Analytic-Apps/ta-p/243120

https://community.alteryx.com/t5/Videos/Chained-Applications/td-p/186301

 

Hope this helps : )

 

AS
8 - Asteroid

Thanks @atcodedog05 

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @AS 

Cheers and have a nice day!

dnbShiner15
7 - Meteor

As a tip... the IN statement at the Filter tool is likely going to drive you bonkers in trying to get the syntax configured correctly.  I finally found the solution via another contributors efforts..... 

 

Be sure to reference the following when configuring the Action tool and the Filter's IN('TEST1, 'TEST2') statement......

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Parse-Error-within-filter-tool-when-tr...

 

Thanks Community!

dnbShiner15
7 - Meteor

@atcodedog05 First off... thanks for your explanations.  I was able to build a chained app that works well in Alteryx designer.  The issue becomes when I publish it to the Gallery.  The behavior that I am after is that the end user would be able to reference a location on their hard drive that contains a listing of files in the same directory.  Alteryx would pick up those files and combine them. and then do a bunch of other stuff.  Again,  I successfully built a workflow that does this using 2 chained apps.  When I publish it to Gallery it throws errors relating to the hard coded directories that I have in the code.  I found another article talking about making relative references but I still think that the files, directories, etc all have to be on the same Server as the Alteryx gallery server.  Is that correct or do you know?