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.
SOLVED

Optional Input Folder Browse using radio button

vijaylnyadav
8 - Asteroid

Hi,

 

Please suggest me some workflow or solution.

 

I am using folder browse and in that I am using directory.

 

Suppose I am using 10 directories.

 

Now if I am giving input to only first directory than all other which is left empty is giving an error in interface designer.

 

Is there any option so that I can make all the input optional or not required and the user give input to any inputs and can left any input empty.  This should not throw an error.

 

Please refer the following workflow.

 

I am using a radio button to disable the container but i am facing the error to set the directory

7 REPLIES 7
vijaylnyadav
8 - Asteroid

@messi007 @Qiu  Please comment on this 

Morgan_Thomas
8 - Asteroid

Hello, 

 

I have set up workflows in the past with optional radio buttons. I've attached a screenshot of how I have set up the action tool connected to the radio buttons in the past, which may work for you 

Hi @vijaylnyadav 

 

Please check if the below works for you. Cheers!

 

christine_assaad_0-1610474702250.png

 

christine_assaad_1-1610474734044.png

 

 

vijaylnyadav
8 - Asteroid

@christine_assaad  and @Morgan_Thomas.

Thanks for your help now I am getting the desired output.

 

Therefore accepted as a solution.

 

Thanks once again because I was struggling for around week to find solution.

 

Thanks.

vijaylnyadav
8 - Asteroid

@christine_assaad  and @Morgan_Thomas.

I have one more issue.

If I use file browse instead of folder browse and input folder instead of directory.

 

Condition:

 

The user can upload file with format .xlsx, .xls, .csv with | delimiter, .txt with | delimiter and .dat with | delimiter.

 

But how to design a solution.

because I am getting an error of unknown file format.

 

I want that a single file can accept all these 5 file format.

 

If i am uploading xls file format than error is that "Please choose a table".

and I want that the user can choose the sheet names also for xls, xlsx and csv with | delimiter files.

 

Please help me on this. 

 

Please suggest some workflow 

Morgan_Thomas
8 - Asteroid

Hi Vijay, 

 

Maybe try something like the attached. 

 

Thanks

vijaylnyadav
8 - Asteroid

Thanks @Morgan_Thomas 

Labels