Skip to main content
Solved

AttributeSplitter doesn't work on filepath?

  • December 29, 2022
  • 2 replies
  • 65 views

asablomberg
Contributor
Forum|alt.badge.img+7

Hi everyone!

I try using AttributeSplitter to split up a file path in all it's folder parts, but the returned list is empty. I have tried to split by '\\', '\\\\' and '/' but with the same result. How do I get this to work?

I want the 6th folder in the path wich can contain 7 or more folders so it doesn't work with FilenamePartExtractor.

I am using Windows. The filepath looks like this '\\\\server.local\\path\\to\\folder1\\folder2\\and\\so\\on\\file.mxd

 

imageimage

Best answer by asablomberg

Thanks for the tip! It helped me to find the error - I used [] instead of {} when exposing the list attributes.

The correct way: _list{3}

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

On a hunch, can you check in the Feature Information panel whether or not you can see the list?


asablomberg
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • Best Answer
  • December 29, 2022

Thanks for the tip! It helped me to find the error - I used [] instead of {} when exposing the list attributes.

The correct way: _list{3}


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings