Skip to main content
Hi,

 

 

Not really a question, but I'm having an issue using a JSONTemplater in a custom transformer with Attribute_Name parameters.

 

 

When trying to use an attribute name in the JSONTemplater like this:

 

{ "test_value":  fme:get-attribute($(test_param)) }

 

I get an error:

 

"context item": undeclared variable

 

 

I have worked around this issue for now by using an AttributeCreator to get the values I need using @value($(test_param)), but this seems a bit messy to me.

 

 

This seems to be the only documentation on the attribute name parameter I can find : http://evangelism.safe.com/fmeevangelist112/

 

Be the first to reply!

Reply