I am trying to publish a web tool from ModelBuilder in ArcGIS Pro. Inside my model there is (besides other things) a script. This script works with data on the same Portal that I want to publish the Webtool to. Consequently, I need to create a connection to the Portal inside the script.
gis = GIS(url="https://***/portal", username="***", password="***?", verify_cert=False)
The model works fine in ArcGIS Pro, the script does what I want, it applies some edits to data on Portal. However, when trying to publish the layer as a webtool, I always get an error message (ERROR 00068 - Script contains broken project data source -- > see attached image):
The solution can be found here
This is a screenshot of the error
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.