I'm attempting to share a web tool from a model builder task that consumes a feature service to our ArcGIS Enterprise portal. However, I get the warning: 24032: Data source used by tool <value> is not registered with the server and will be copied to the server: <value>
There does not appear to be any way to register a feature service and I don't want my model builder tool to act on a stale copy of data. I need it to act on the live feature service.
Is there any way to make this work?
Thanks for your help or any pointers!
My solution was to place the task that accesses the feature service into a python script. I then commented out the code that accesses the feature service and ran the model. This prevented detection of the feature service when sharing the web tool. After I published the model, I found the script on the server and replaced it with the original script, restoring the access to the feature service.