Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.
Free Trial

Alteryx Designer Desktop Discussions

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

Is it possible to dynamically assign a file to the Tree tool?

Martyn
9 - Comet

I have files that define hierarchical data structures (COBOL copybooks) and I am trying to set up an App that when the user has selected the file containing the copybook the user wants to filter - will be presented with the Tree for that copybook - and then based on the fields (or groups of fields) selected, a subset of the data structure is output. (The copybook file has had a key added to it to define the hierarchical structure as required)

 

I can get this to work with a fixed file specified in the Tree tool - but am not sure how to make this dynamic.

 

As you can see from the screenshot below, I tried using the File Browse tool as input to the Tree tool - but this doesn't seem to do anything.

 

image.png

The only other thing that I can think of doing is maybe making a chained App.

 

Any suggestions?

1 REPLY 1
jrgo
14 - Magnetar

@Martyn 

 

I believe a chained app is going to be your only option here.

 

First app will need to create the tree list file and the second app would read that file in. 

Labels
Top Solution Authors