I am using standard code (from the examples) with arcpy and python api to publish a layer (by ref) with feature access.
When I load the mapImage into empty webmap the popup (identify) is turned off by default.
I need to turn it on to see the popups.
If I load the same mapImage to Pro I do see identify without any extra setting.
When I use Pro (without code) to publish a web layer the problem does not exists. The layer have popups on by default.
I found a few examples about how you turn popup on in a WebMap (using get_data) but no example of how to do it for mapImage or feature service.
I can not find any different between the service that was published using code and the one I created in Pro without code.
Anybody know how to set the default popup to "on" in code for service (not WebMap)?