Skip to main content
Question

FME Best / Standard practice - query sharepoint - upsert feature


benhanson
Contributor
Forum|alt.badge.img+1

I’m connecting a Sharepoint dataset to a portal dataset, with the intention of creating geospatial data in portal, each record having an object-id along with geometry. The Sharepoint record would be manually linked via this object-id, and then FME would sync changes of related columns.

My question is which transform (there are so many!) makes the most sense, and how can I limit the updates to only those records that have a matching object-id?

In my writer, the upsert action exposes a match column config, but the update action doesn’t. I feel like I’m missing something, as an update statement still needs something to match on.

6 replies

raghavendrans
Enthusiast
Forum|alt.badge.img+14

benhanson
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • May 22, 2025

I have, though I saw it early in my exploration. I’ll give the Change Detector a deeper look.


raghavendrans
Enthusiast
Forum|alt.badge.img+14
benhanson wrote:

I have, though I saw it early in my exploration. I’ll give the Change Detector a deeper look.

You are right! ChangeDetector will help you to update selected records with the matching ids.

Happy FME:-) ing

Cheers

SRG


benhanson
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • June 2, 2025

I’m still struggling to determine the best path forward with this. The ChangeDetector seems to work well. My workflow only attempts to update changed records. Unfortunately, the writer fails with an error: “ArcGIS Portal Feature Service Writer: UPSERT failed for feature service 'TestFeature': the feature service does not support Append, or has Sync/ChangeTracking enabled”

My writer only has the changed columns referenced. I don’t know if I have to have EVERY column in the destination mapped. If I do, then I’d need to do some sort of Join I presume.

If I switch to Insert, it us able to write data, but upsert functionality is what I’m looking for.


raghavendrans
Enthusiast
Forum|alt.badge.img+14

@benhanson 

From my understanding the  Append capability is not currently supported if the ArcGIS Portal feature service has sync or changeTracking capabilities enabled.

Can you confirm that this is not the case for the “TestFeature” service?

SRG


benhanson
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • June 3, 2025

GeoDB functionality has:

Unchecked: Versioning, Archiving, Replica Tracking, Attachments, Editor Tracking

Checked: Global IDs

 

Operations Allowed:

Checked Create, Query, Delete, Update

Unchecked: Sync, Extract

 


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