Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Dynamically Connect to the Zip Folder

nisarghande
6 - Meteoroid

 

I am trying to connect zip folder that doesn't always  have a data file in it. I tried to used directory tool

with a static template file in the folder and a filter based on size (anything over 161kb means there is data). But I'm getting this error:error: Dynamic Input (3): No file specified in zip archive: "E:\Alteryx\Workflows\NPS\DataAppend\Files\Surveydata_appsurvey.zip". Choose a file to read.

1 REPLY 1
MattBSlalom
11 - Bolide

Can you share a screenshot of the Configurations you have for the Dynamic Input?  I suspect there's an issue with how you've defined the "Read a List of Data Sources" properties.

 

Do you know the name of the file in the zip (is it static)?  Or do you need to check the contents of the zip at runtime to find the filename(s)?

 

If it's a static filename, then you need to append it to the zip file path so that the Dynamic Input tool knows what file in the zip it should load.  In the below sample, I've just added a static Formula to append my expected CSV filename onto the FullPath of the zip file.  Then configured the Dynamic Input to "Change Entire File Path" using the modified FullPath field.

 

MattBSlalom_0-1619724473242.png

 

Labels