Select to view content in your preferred language

Inline variable after calculate value

190
4
Jump to solution
4 weeks ago
CharelvanDijk
Emerging Contributor

From an iterate feature selection, I get a value that I later want to use as inline variables in the copy features. However, names like Noord-Holland are not liked by Pro. I inserted a calculate value in between, but I keep getting an error message with the copy features. I have the impression that it keeps looking at the first value, and that the inline variable is not correct because of that. Does anyone have a suggestion?

0 Kudos
1 Solution

Accepted Solutions
BrendanNewell
Esri Contributor

What error message are you receiving? Can you show as the exact inline variable that you are using when you receive the error?  As %Value (2)% should work. Make sure you are including the space when inserting the inline variable in the file path. 

🙂

View solution in original post

0 Kudos
4 Replies
cpehlke
Emerging Contributor

I think your Copy Features output would need to be Gem_prov_%Value(2)% instead, to properly apply your Calculate Value.

0 Kudos
CharelvanDijk
Emerging Contributor
I had indeed tried that because that name also appears in Calculate Value. But then I get an error message when running it on everything.
0 Kudos
BrendanNewell
Esri Contributor

What error message are you receiving? Can you show as the exact inline variable that you are using when you receive the error?  As %Value (2)% should work. Make sure you are including the space when inserting the inline variable in the file path. 

🙂
0 Kudos
CharelvanDijk
Emerging Contributor

Thank you! the space was the issue. 

0 Kudos