Skip to main content
Solved

Append new records to SDE writer

  • September 20, 2017
  • 1 reply
  • 87 views

I have a workspace that uses the GeoRSS reader that spatializes a newsfeed and writes to an SDE feature class. The newsfeed carries 25 items per day and a handful of news stories are posted each day. How do I configure the parameters in the writer to retain all of the old items and "append" only the new items, so as to preserve all items and build a running total?

Best answer by ciarab

@rtalbott

I have attached a sample so you get the idea of what I think you are trying to achieve. You just need to identify which records are new to your SDE Feature class and if so then they are tagged as Inserts that are added to your database if records are already there you can tag them as updates or else only choose to append new records by dropping anything that isnt a new record.

You need to use the attribute creator to set an attribute called fme_db_operation= INSERT sample.fmw

View original
Did this help you find an answer to your question?

1 reply

ciarab
Contributor
Forum|alt.badge.img+9
  • Contributor
  • Best Answer
  • September 21, 2017

@rtalbott

I have attached a sample so you get the idea of what I think you are trying to achieve. You just need to identify which records are new to your SDE Feature class and if so then they are tagged as Inserts that are added to your database if records are already there you can tag them as updates or else only choose to append new records by dropping anything that isnt a new record.

You need to use the attribute creator to set an attribute called fme_db_operation= INSERT sample.fmw


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings