Comments and answers for "How do I delete features in a feature class using a list from a spreadsheet?" https://knowledge.safe.com/questions/85518/how-do-i-delete-features-in-a-feature-class-using.html The latest comments and answers for the question "How do I delete features in a feature class using a list from a spreadsheet?" Answer by david_r https://knowledge.safe.com/answers/85880/view.html

If your feature class is versioned you may have to use the alternative strategy (i.e. not use the DatabaseUpdater), as shown here:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_ReadersWriters/DatabaseWriterMode/feature_operations.htm

Example from the writer feature type used to delete records:

In the writer parameters, be sure to set the correct transaction type:

Fri, 25 Jan 2019 09:14:26 GMT david_r
Comment by donjensen on donjensen's answer https://knowledge.safe.com/comments/85831/view.html

David,

I am not able to get the Database Deleter to work. I get an error when it runs and there is no place to set the transaction type to 'Versioned Edit Session' that I can find. Do you have any thoughts?

Thanks

Don

Table/feature class 'ACE.Light' is versioned. The 'Transaction Type' keyword must be set to 'Versioned Edit Session' in order to write to versioned tables/feature classes


Thu, 24 Jan 2019 15:07:41 GMT donjensen
Answer by donjensen https://knowledge.safe.com/answers/85523/view.html

Thanks David, I will check it out.

Thu, 17 Jan 2019 17:38:16 GMT donjensen
Comment by david_r on david_r's comment https://knowledge.safe.com/comments/85521/view.html

I think that would be the easiest solution. There's an alternative solution using a regular writer and the fme_db_operation attribute, but it's slightly more complicated. It's documented here:

https://knowledge.safe.com/articles/43885/data-loading-updating-and-deleting.html

https://knowledge.safe.com/articles/31700/updating-databases-using-change-detection-to-set-f.html

Thu, 17 Jan 2019 17:25:05 GMT david_r
Comment by donjensen on donjensen's answer https://knowledge.safe.com/comments/85520/view.html < div class = " fr-view clearfix " > < p >没有,我从来没有heard of it. It does look like it will to the trick.

Thu, 17 Jan 2019 17:21:36 GMT donjensen
Answer by david_r https://knowledge.safe.com/answers/85519/view.html

Have you looked at the DatabaseDeleter transformer?

Thu, 17 Jan 2019 17:18:29 GMT david_r