Skip to main content
Question

JSONTemplater and Attribute Name parameters = error

  • August 23, 2013
  • 0 replies
  • 18 views

Forum|alt.badge.img
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/

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.