Have you tried @value(fme_feature_type)?
Itay,
this is what I got when I used the @value(fme_feature_type)
@value(fme_feature_type) at Navy, Tampa, Florida, (2013) for example
What I need to see as a result is :
Signs at Navy, Tampa, Florida, (2013) for example
the other values you see in the string were casted as parameters. I dont know if there is a way to call the fme_feateure_type and make it a parameter that I could call in my string of text.
You can always create a parameter and fetch the ft with a parameter fetcher but that seems excessive to me
This is what I got:
@value("_feature_type") at Navy, Tampa, Florida, (2013)
Mmm last shot at it.... Have you tried the attribute dereferencer?
I will try that in a few. Thanks for all of the help man
No sweat
could be that the ft cannot be reached because of the dynamic properties of the translation, another possibility would be to use the string concatenator or attribute creator
Hi Gerardo,
FME is basically case sensitive except in some specific cases, and FME function name starts with @ and an upper case letter. Try @Value(fme_feature_type).
Takashi
Hi,
Takashi is right, FME is mostly case sensitive so you need to write "@Value" with an upper case V. The expression "@value" which was suggested below will therefore not work.
The easiest way, in my opinion, to build strings like this is to use the StringConcatenator. I prefer the Advanced view, which isn't really that complicated. Just double-click in the attribute and function list on the left and the correct reference will be inserted into the cursor position:
David
Typo...
I see. your suggestions seem to work well in the open editor from the string concatenator.
My problem is that I am using the open editor from the xml updater.. and that one doesnt like the @Value. Regardless of what attributes I double click or drag over. it is spitting it out literally instead of extracting the value into the editor. This leads me to believe that it might be a formatting issue
Hi Gerardo,
I am sure Safe would appreciate hearing about it, sounds like a bug to me.
Itay, Takashi and David. Thanks for all of your help