Skip to main content
Solved

List to Attributes

  • July 17, 2017
  • 4 replies
  • 114 views

pratap
Contributor
Forum|alt.badge.img+12

Hi,

I have configuration file from which I have to extract attributes headers for excel file.

I have managed to bring as shown below...

A,B,C,D,E

Now I want to convert this to attribute header A B C D E

attached a screenshot for better understanding... Could any one throw some light and suggest me...

Best answer by redgeographics

I think I have a nice workaround: writing to a temporary CSV file and then reading that back in.

none2none.fmw

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.

4 replies

erik_jan
Contributor
Forum|alt.badge.img+23
  • Contributor
  • July 17, 2017

I think the AttributeSplitter is the transformer you need.


pratap
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • July 17, 2017

It is making list rather than attribute header.


redgeographics
Celebrity
Forum|alt.badge.img+62
  • Celebrity
  • Best Answer
  • July 17, 2017

I think I have a nice workaround: writing to a temporary CSV file and then reading that back in.

none2none.fmw


takashi
Celebrity
  • July 17, 2017

If you need to use A, B, C... (Excel column names) as attribute names of an Excel reader feature type, just leave the "Feature Names Row" blank in the reader parameters when adding the reader to the workspace.