Skip to main content
Question

How do I reference a feature's sole attribute's name?

  • July 26, 2016
  • 3 replies
  • 23 views

I'm trying to write to different columns using the XLSX writer. I want my first group of features to be written in the first column, second set of features written in the 2nd column, etc...

I think this should be possible using the writer's "Format Parameters > Sheet Settings > Row ID Attribute" and "Format Parameters > Start Position > Start Column".

I'm having trouble dynamically assigning the former. I think I can use the Count function here, but I'm not sure how to reference the feature's (only) attribute's name to use as the domain name for the count.

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.

3 replies

Forum|alt.badge.img+2

@carlreedw could you give us an illustration of what the end result should look like. Sounds like you trying to do a pivot, but I'm not sure. Thanks


  • Author
  • August 1, 2016

See above.

I have three sources, each contributing features to the xlsx writer. I want these features to be written to separate columns.


takashi
Celebrity
  • August 1, 2016

Hi @carlreedw, merging the three streams into one may be a quick way. Add sequential number to the features on each stream then merge the streams with the FeatureMerger using the number as the join key. e.g.