Skip to main content
Solved

ESRI ArcGIS Portal Feature Service - Issue writing DELETES to a branch version via FeatureWriter?


mlufkin
Contributor
Forum|alt.badge.img+3

I'm having a few issues with the ESRI ArcGIS Portal Feature Service Writer (using the FeatureWriter). I'm writing to a known ESRI Feature Service using Branch Versioning, and I'm creating a new branch to make the edits in. Using FME Desktop 2021.0.3 (64 bit), I'm finding I can write the Inserts and the Updates to the service, but not any Deletes?

 

FME is completing successfully, so the ‘call’ seems to be successful, and no errors seem to be returned in FME, but any Deletes just don’t seem to be appearing in the branch.

 

I've checked permissions in ESRI, and the user does have editor permissions (including Deletes), and I've successfully deleted a feature using a Branch in ArcGIS Pro itself.

 

Anybody had a similar issue, and if so, how did you overcome it?

 

Many thanks,

Best answer by maplinux

Hi @mlufkin​ ,

 

I chatted with support and my issue is that I need to be able to use globals as the primary key (Use Global IDs = Yes). It wrote out the delete with that set to No, but deleted the wrong record. Thanks again for the help!

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

8 replies

mlufkin
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 18, 2022

Just wanted to follow-up on this issue - and we've found that using traditional Writers (as opposed to FeatureWriters) using the same settings seems to work.

 

We did have to create separate Writers for both the Inserts/Updates (setting the Writer Mode: UPDATE and using the fme_db_operation) and Deletes (setting the Writer Mode: DELETE - it didn't like using the fme_db_operation), so it's worth bearing in mind that for this use-case, we've found that the Writer and FeatureWriter do seem to behave in slightly different ways.

 

Thanks,


outlook
Contributor
Forum|alt.badge.img+3
  • Contributor
  • April 28, 2022

Hi mlufkin,

 

Yes you are right. I am facing the same issue too. Update and insert working fine. But DELETE operation is not working. workbanch is not giving the error however objects are'nt deleting.

Is there any solution ?


mlufkin
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • April 28, 2022
outlook wrote:

Hi mlufkin,

 

Yes you are right. I am facing the same issue too. Update and insert working fine. But DELETE operation is not working. workbanch is not giving the error however objects are'nt deleting.

Is there any solution ?

Hi outlook,

 

I've had confirmation that Safe have applied a fix to this, and will be available in the 2022.1 release of FME.

 

Thanks,


outlook
Contributor
Forum|alt.badge.img+3
  • Contributor
  • April 28, 2022
mlufkin wrote:

Hi outlook,

 

I've had confirmation that Safe have applied a fix to this, and will be available in the 2022.1 release of FME.

 

Thanks,

Hi mlufkin,

 

Very good news. Thank you very much and Safe too.


maplinux
Contributor
  • Contributor
  • May 16, 2022

Hi @mlufkin​ 

I'm having the exact issue of not being able to write deletes with the ESRI ArcGIS Portal Feature Service Writer (using the FeatureWriter). Any updates or are we still waiting for FME 2022.1? And if so do we know when it will be realeased? Thanks!


mlufkin
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • May 16, 2022
maplinux wrote:

Hi @mlufkin​ 

I'm having the exact issue of not being able to write deletes with the ESRI ArcGIS Portal Feature Service Writer (using the FeatureWriter). Any updates or are we still waiting for FME 2022.1? And if so do we know when it will be realeased? Thanks!

Hi @maplinux​ ,

I believe we're waiting on 2022.1, which should be released in the autumn, if it follows Safe's usual version release schedule.

I've worked around it by using a traditional Writer for the Deletes, but this may not work depending on your workflow.

Thanks!


maplinux
Contributor
  • Contributor
  • May 16, 2022

Hi @mlufkin​ ,

Thanks for the help! I'm still not able to get it to work with the traditional writer. No matter I seem to do it still appears to be sucessfull, but nothing writes out. Would you please be able to explain in more detail how you were able to get it to work? Thanks!


maplinux
Contributor
  • Contributor
  • Best Answer
  • May 16, 2022

Hi @mlufkin​ ,

 

I chatted with support and my issue is that I need to be able to use globals as the primary key (Use Global IDs = Yes). It wrote out the delete with that set to No, but deleted the wrong record. Thanks again for the help!


Reply


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