I want to connect a database to web map viewer but when add the file it only uses the data imported at that time if i edit the file or add more data to it, i have to import it again manually, is there a way to have the data updated automatically and visualized on the map based on the parameters i have already set?
@ColinWerle1 @VinceAngelo @Robert_LeClair Can any of you help?
Solved! Go to Solution.
I forgot to mention an obvious route of using Pro and arcpy to update the hosted layer as a scheduled windows task.
https://learn.arcgis.com/en/projects/schedule-automated-near-real-time-data-updates/
also if you want to pursue the Python API method - https://www.esri.com/arcgis-blog/products/analytics/analytics/updating-your-hosted-feature-services-...
Are we talking about ArcGIS Server?
Actually i am new at this, so i was trying to do it using web map viewer is it possible or do i have to use ArcGIS Server?
I would guess you mean ArcGIS Online Map Viewer. You'd need a map/feature service to be published from your database and GIS server - then added to ArcGIS Online, or some automated method to update the hosted Geodatabase/Layer using an API or application like FME.
There's no way to directly connect your database to AGOL.
Yes, I mean ArcGIS Online Map Viewer. Is there is a tutorial available to be able follow these steps.
I forgot to mention an obvious route of using Pro and arcpy to update the hosted layer as a scheduled windows task.
https://learn.arcgis.com/en/projects/schedule-automated-near-real-time-data-updates/
also if you want to pursue the Python API method - https://www.esri.com/arcgis-blog/products/analytics/analytics/updating-your-hosted-feature-services-...
Will give them a try, Thanks a lot for your help 🙂
It worked, thanks a lot for your help.
Its working when i use the cmd to overwrite the file but when i use the task scheduler nothing happens.
its already 4:17 and it never ran the task.
David is correct with ArcGIS Online and the Web Map Viewer. Now IF you had ArcGIS Enterprise (ArcGIS Server, Portal, ArcGIS Datastore and Web Adaptors) installed on your system, you could share a web layer from ArcGIS Pro that references an enterprise geodatabase feature class. Then as the data is updated either via the ArcGIS Enterprise Map Viewer or the feature class itself, all apps would be current. You can reference that workflow here - but David's workflow for your configuration is best for now. Good luck!