Skip to main content
Question

ArcGIS enterprise update


cdog
Contributor
Forum|alt.badge.img+2
  • Contributor

Hi, 

I am trying to set up a simple update workflow that doesn’t like me. I am trying to update my enterprise portal with GDB updates and will eventually want to have this run everyday but for now I am just trying to figure out how to update one shapefile and repeat this 30 times. 

Right now I haver set up a GDB reader going directly into ESRi ArcGIS portal feature service writer to update an existing feature in enterprise and I have got it to write the features but it doesn’t want to publish the feature into portal.

Can someone help me figure this out?  

 

 

8 replies

crutledge
Enthusiast
Forum|alt.badge.img+30
  • Enthusiast
  • April 16, 2025

Can you open up one of the writers to share the settings? We can help troubleshoot with some screen captures. Could be data types, field names, insert, truncate etc . Here to help.


cdog
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • April 16, 2025
I was having issue with the writer not finding the objectID so I filled it in and that seemed to of worked thus including the above screenshot. 

 


crutledge
Enthusiast
Forum|alt.badge.img+30
  • Enthusiast
  • April 16, 2025

I would try changing OBJECTID to OID and not assigning. OBJECTID is handled by system.
 

I also wonder if feature exists you may try “Use Existing”
 

Check Portal if the Hosted Feature Layer still exists. It might have gotten blown away in the process.

Hope that helps!
 


cdog
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • April 17, 2025

Hi, 

I tried the changes but still getting the same error. Its writing the attributes but can’t publish the feature. 


crutledge
Enthusiast
Forum|alt.badge.img+30
  • Enthusiast
  • April 17, 2025

Hi ​@cdog So I understand better. There is already a layer in Portal named “Centerline” and you want to push updates to that layer. So keep adding records into that existing layer and keep existing records?” 
or 
do you want to overwrite the entire layer every time and treat that new but keep the same name?

Sorry if I am misunderstanding. I am sure we can get this solved for you. You might also try to “Start Fresh” and just do the one. I see that there’s a lot going on in the workbench you have right now (screen cap above). Might try just one reader and writer and see if we can get that working for you.


cdog
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • April 17, 2025

Ideally I would like to overwrite the existing data, although I am not sure if that is easier then just adding in any changes to it. What I am trying to do is set this up so that when I make a change it will update enterprise the next day so I wanted to set up something simple (I hoped it would be simple anyway) that would send updates to the features on enterprise. I have added everything in the screenshot already to enterprise so I might have to change my work flow on this and add a change dector and try that instead.

 

In total I probably have like 50 shapefiles that I will need to update so I trying to figure out the best course of action to do that.  


crutledge
Enthusiast
Forum|alt.badge.img+30
  • Enthusiast
  • April 17, 2025

@cdog Gotcha. I have run into some “things” that I couldn’t quite figure out why worked but did work when publishing to Portal.

In the past I have had to write to fgdb and then send updates to the layer in Portal.
I have also had to use Truncate for some reason.

What you are doing SHOULD work in my mind. Insert should insert into existing hosted feature layer.

Try reading one shapefile » FeatureWriter to fgdb » FeatureReader of that layer in fgdb» Write That layer to Portal using Existing and Insert. This can all be in the same workflow


cdog
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • May 1, 2025

So I took a break from bashing my head against a wall to do other things (lols) and played around with this some more. 

I have started to use change detector to attribute creator to feature writer with a portal reader connected to the change detector as the original and it works, well sort of. No errors but it doesn’t change anything in enterprise. I want to delete some empty fields that I have created from this process and put in the 8 that have attributes but it just runs and does nothing. 

I guess my main issue is that its working and it either doesn’t update the attribute table or if it does there are no attributes displayed in it and it just inserts 8 rows rather then updating them with the correct information. 

Below is my workflow. 

 


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