Question

FeatureWriter Updating Esri FileGeoGDB (ArcObjects)

  • 27 March 2020
  • 2 replies
  • 2 views

Badge +9
  • Contributor
  • 101 replies

I try to update FeatureClasses in an Esri FileGeoDB.

I use FeatureWriter with fme_db_operation=update and dynamic schema setting. FeatureClasses have NOT NULL attribute constraints.

Problem: How do I control which attributes are updated ?

I have the impression, that I cannot update only some attributes without specifying all attributes of the FeatureClass/Table. If I do not supply an attribute it will be set to NULL.

Is that really so ? Is there a way to leave attributes unchanged, while others are updated ?

That's what I am used to from SQL ...

Thanks

Michael


2 replies

Badge +2

@mhab To update only some fields in a database follow the instructions in the article Updating Individual Fields of a Record

Badge +9

@mhab To update only some fields in a database follow the instructions in the article Updating Individual Fields of a Record

@markatsafe Thanks for the hint.

I just found that one too and learned my problems must have other reasons.

Non-existing attributes will not change the database. Happy to know that now.

Reply