Skip to main content
Question

How to add data to new field ?

  • January 30, 2020
  • 5 replies
  • 250 views

geo-x
Supporter
Forum|alt.badge.img+6

Hello everybody.

I'm using FME for create an object with the transformer AttributeManager, but I would like to add values in each new field. Whait i the good transformer for that ?

Thanks for your help.

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.

5 replies

oscard
Influencer
Forum|alt.badge.img+22
  • Influencer
  • January 30, 2020

The AttributeManager has a column named "Value". There you can add value to each of your new fields.


geo-x
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • January 30, 2020

The AttributeManager has a column named "Value". There you can add value to each of your new fields.

Yes but only one data per column no multiple values


oscard
Influencer
Forum|alt.badge.img+22
  • Influencer
  • January 30, 2020

Yes but only one data per column no multiple values

We are going to need more info to help you. Does that value depend on the value of another field? Otherwise, you will need to merge your current data with the source of those values.


geo-x
Supporter
Forum|alt.badge.img+6
  • Author
  • Supporter
  • January 30, 2020

We are going to need more info to help you. Does that value depend on the value of another field? Otherwise, you will need to merge your current data with the source of those values.

No, it's only new values.

For exemple, I've a CSV file like this :

code | libelle

30 |zehfuzufeh

40 | zujzjedodizje

I create the fields code and libelle and after I need to integrate the informations.


oscard
Influencer
Forum|alt.badge.img+22
  • Influencer
  • January 30, 2020

No, it's only new values.

For exemple, I've a CSV file like this :

code | libelle

30 |zehfuzufeh

40 | zujzjedodizje

I create the fields code and libelle and after I need to integrate the informations.

Then I guess you need to add your CSV to the workspace using the CSV Reader.

Instead of using an AttrbiuteManager, you have to merge your data with the data from that CSV using a FeatureJoiner or FeatureMerger. That is possible if both source of data have a field or a combination of several fields in common.