Free Trial

Alteryx Designer Desktop Discussions

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

How to get tab names in data when using download tool

gauravnegi2
8 - Asteroid

So I have to download a file from somewhere and have to show the sheets name of that file 

 

 

gauravnegi2_0-1601979347872.png

 

I used download tool to get the file but now when i am using dynamic input i am not able to get the sheet names. i don't want the sheets data as an output i am looking for sheet names only 

 

suppose there are 3 sheets in a excel file so the output should be the name of the 3 sheets

sheet1

sheet2

sheet3 

6 REPLIES 6
joshuaburkhow
ACE Emeritus
ACE Emeritus

Hey @gauravnegi2 It's going to be hard to tell what you need to do without seeing the workflow. Are you able to share or maybe screenshot the output of the select tool? Are you outputting a temp excel file? 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @gauravnegi2,

 

I would add a formula tool before your dynamic input tool with the following formula:

 

 

[FullFilePath] + "|||<List of Sheet Names>"

 

 

And feed this into the dynamic input tool, which will return the list of sheet names in each file.

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Regards,

Jonathan

gauravnegi2
8 - Asteroid

@Jonathan-Sherman @joshuaburkhow  Here is the workflow with the URL

 

 

@Jonathan-Sherman i already tried this but it didn't work, can you please check what am i missing.

joshuaburkhow
ACE Emeritus
ACE Emeritus

The issue you have is in your formula tool. The string size is too small 😉  I created a new field and gave it a bigger size string and then I updated the dynamic input to look at that new file name, it works now. 

 

joshuaburkhow_0-1601981789439.png

joshuaburkhow_1-1601981922268.png

Hope this helps. Please mark as solved so others can see it

 

Joshua Burkhow - Alteryx Ace | Global Alteryx Architect @PwC | Blogger @ AlterTricks
Jonathan-Sherman
15 - Aurora
15 - Aurora

Hi @gauravnegi2,

 

The size of your [file name] field was too short and cutting off the extra text you added in the formula tool. I've upped it and it works perfectly!

 

Jonathan-Sherman_0-1601981918484.png

 

 

If this solves your issue please mark the answer as correct, if not let me know! I've attached an updated workflow for you to download if needed.

 

Regards,

Jonathan

gauravnegi2
8 - Asteroid

@joshuaburkhow @Jonathan-Sherman I didn't noticed that, thank you for the help. 

Labels
Top Solution Authors