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.

Input Network drive path to read multiple files in Alteryx Gallery/Server

db89
8 - Asteroid

Hi all,

 

I am unable to build a workflow, that would allow me to input the path to a network drive so that I can read all the files to create a report.

Can someone guide me whether i need to create a macro for the same and at the same time the tool should work once published in Alteryx server.

6 REPLIES 6
binuacs
21 - Polaris
db89
8 - Asteroid

@binuacs thanks for sharing! is it implying that to connect the batch macro after an input tool?

binuacs
21 - Polaris

@db89 The batch macro reads in the input files from the directory where all input files are saved, you no need an input tool file, down load the attached batch macro and connect to your folder where all the files saved and run, it will combine the input files into one output

 

Note: the given macro has the sheet name as "Sheet1" , if you have different sheet names you need another approach, 

alexnajm
17 - Castor
17 - Castor

The macro that @binuacs shared should work well. The biggest thing though is also checking with your server admin to ensure the Server has access to the network drive so you can read/write to those folders with a gallery-run workflow

db89
8 - Asteroid

@binuacs and @alexnajm thanks this makes sense. However, as I have to read xml data and want to parse it as a CSV format, the macro is not working on this situation. But appreciate your help!

alexnajm
17 - Castor
17 - Castor

You can leverage the macro that already exists and tweak for your use case

Labels