Select to view content in your preferred language

Updating GDB item doesn't update Feature Layer

53
1
Jump to solution
yesterday
Labels (2)
BijanTaheri
Occasional Contributor

I have a hosted feature layer in my AGOL, which is created from a zipped FGDB uploaded to AGOL.

Shouldn't the "Update Data" button on the FGDBs page not update both the GDB item and its published hosted feature layer? If the data is updated in the hosted feature layer, it doesn't update the "schema updated" or "data updated" time stamp in the feature layer item page.

Am i wrong to assume, that it should work this way?

I know i can update the hosted feature layer directly in its item page - but for the current workflow i have now, it is set up to update the GDB item.

0 Kudos
1 Solution

Accepted Solutions
timcneil
Esri Contributor

Hi @BijanTaheri , 

The Update Data button on the FGDBs item page will only update the associated FGBD file. It will not update the hosted feature layer that was published from the FGDB.

If you want to update your hosted feature layer, you will need to access the Update Data workflow from the hosted feature layer's item details page. Then, depending on how you want to update your data, you can select an option (Add, Update, Add and update, Overwrite). 

This blog should help walk you through the different options: https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/updating-data-in-arcgis-onli...

View solution in original post

1 Reply
timcneil
Esri Contributor

Hi @BijanTaheri , 

The Update Data button on the FGDBs item page will only update the associated FGBD file. It will not update the hosted feature layer that was published from the FGDB.

If you want to update your hosted feature layer, you will need to access the Update Data workflow from the hosted feature layer's item details page. Then, depending on how you want to update your data, you can select an option (Add, Update, Add and update, Overwrite). 

This blog should help walk you through the different options: https://www.esri.com/arcgis-blog/products/arcgis-online/data-management/updating-data-in-arcgis-onli...