Hi,
I'm hoping someone can help me. I have a feature layer in my local portal instance. This feature service references a dataset that lives in an enterprise geodatabase. Every month a new version of this dataset is added to the enterprise geodatabase and I overwrite the feature layer in portal. The dataset is made up of two layers, point and polygon.
I would like to automate overwriting the feature layer in the portal. However when reading the guidance and looking at blogs they all indicate that you need to overwrite the service definition layer. I do not seem to have a service definition in my portal (is this because its a referenced layer?).
Does anyone have any script that might be able to solve this?
Thank you in advance!
FYI I have looked at the following:
https://community.esri.com/t5/python-questions/automate-overwrite-web-layer-feature-class/td-p/20067
https://developers.arcgis.com/python/sample-notebooks/overwriting-feature-layers/
https://www.esri.com/arcgis-blog/products/api-python/analytics/updating-your-hosted-feature-services...