We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

FileName: "C:\Users\..." was truncated to 254 characters

SiddharthDesaiCR
5 - Atom

Hi all,

 

I am facing an issue in alteryx designer after using .xlsx file as input and selecting output FileName as field : Full Path, 

I'm not able to get complete path due to error mentioned in subject line. (Reason : File name is too long but I need to retain it as it is.)

I'm aware that taking .csv file as input might help solve this problem but wanted to know if there is any workaround in case file format is .xlsx.

 

Thanks,

 

6 REPLIES 6
caltang
17 - Castor
17 - Castor

Have you tried using a Directory tool instead? 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
SiddharthDesaiCR
5 - Atom

Hi @caltang ,

 

Yes I did, but facing same issue. 

 

Thanks,

 

caltang
17 - Castor
17 - Castor

I think there’s a hard limit of 255 character limit. Using Directory tool should get you the short file name - which can also be used.

 

You can change the path with a Directory and ShortFileName to get you the path. Then you can use it - any particular reason why you need the long file name? Or why is it long in the first place?

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
SiddharthDesaiCR
5 - Atom

I need the entire file path as it is being used in a macro to extract all files within a folder.

caltang
17 - Castor
17 - Castor

Hmm like I said, you can use the ShortFileName if you call them in from a directory. 

Some relevant links: 

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
SiddharthDesaiCR
5 - Atom

Hi @caltang 

Thank you very much for the information. 

I'll look into these.

 

Thanks,

Labels
Top Solution Authors