I would like to create a python Script to automatically update my web map from my ArcPro project.
I have a ArcPro project that I manually update the web map right now.
I also used experience builder to create a user-friendly web map that uses the data from my published web map.
I have attached my first try at a script, but it doesn't work. Any help on how to fix the script would be appreciated.