Skip to main content
Question

JSON AttributeExposer get subgroup value

  • May 4, 2018
  • 1 reply
  • 9 views

Forum|alt.badge.img

Hi all,

I hope an easy one.

Please see attached images;

how should I write to get the values within the measures item in the AttributeExposer tool?

Many thanks

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.

1 reply

jkr_wrk
Influencer
Forum|alt.badge.img+35
  • 424 replies
  • May 4, 2018

I think your problem is like:

https://knowledge.safe.com/questions/58375/how-to-change-list-to-attribute-with-listindexer-t.html

You wan't to get the list element with index 0 into a attribute.

If the list is always of length 1 (index 0) you could use a AttributeRenamer to rename meassures{0}.parameter to parameter.