Hello,
I hope you're well and wish you all the best for the New Year!
I'd like to ask for your help with an integration issue that's been bothering me.
I'm planning to develop a dashboard for reporting on current campaigns on Field Maps. My aim is to be able to visualize the data collected by my technicians according to certain criteria in order to establish performance criteria.
To achieve this, I'm looking to establish a pipeline between my ArcGIS Online account and a single database, which would then serve as the foundation for developing this tool.
Would you have any suggestions or ideas for setting up such an integration?
Thank you in advance for your help!
Thank you very much,
Data published to AGOL from a database is copied rather than referenced. If you want your data to reflect changes from a database you'll need to look at using Portal.
If I understand correctly, you're using AGOL with Field Maps. You can begin by importing your hosted feature layer into your database to create a Source copy. Then, you can develop a script to back up this Source copy into another feature dataset for redundancy, replacing the backup at a set interval (e.g., hourly, daily, or weekly). The script would then truncate the table and reload the latest data from AGOL into the database. To automate this process, you can schedule the script to run on a server using Task Scheduler, enabling near real-time access to Field Maps data based on your update frequency. Alternatively, if you're proficient with FME Form + Flow, you could leverage that software for automation instead.
However, keep in mind that if you modify the schema of your Field Maps layers, you’ll need to update the corresponding database copies used for dashboarding, as well as any historical backups, to maintain data consistency.