And follow-up… is it possible to manage those resources in Portal after publishing?
We are trying to understand what is important to maintain on the server where services are published from. We have ImageServer set up with an Enterprise Portal. We are building mosaics for some thematic rasters that we want users to be able to display, ID, and analyze in both Pro and Portal. These need attribute tables for the color map and text descriptions. We have followed this tutorial to build them:
https://learn.arcgis.com/en/projects/share-raster-data-as-an-analytical-image-service/
(Thank you to Michael Dangermond for this tutorial, it was critical to understanding how to get this done. Particularly for those who worked with the older ways of managing raster attribute tables.)
It seems that the mosaic is the only item that Portal maintains a reference to in the source. The Raster Function and the attribute table seem to be copied to Portal and are not referenced to their original sources. Do we have that right?
For the Raster Function, I tried deleting it from the source via the Pro | Raster Functions Pane, and it deleted from C:\Users\<username>\AppData\Local\ESRI\ArcGISPro\Raster\CustomProcessCategories\Custom1. However, in Portal, it is still applied to the Imagery Layer. So that does not seem to be referenced.
For the attribute table, I renamed it in the Geodatabase. In Portal, it is still applied to the Imagery Layer. Also probably not referenced.
I tried renaming the mosaic from a fresh Pro project, and that errored on a schema lock, so that seems to be referenced.
Based on all that, it seems the mosaic is the only thing referenced and it doesn’t matter what we do with the source Raster Function or attribute table after we have published the service…
Assuming we don’t want to make changes to the service later. Because there does not seem to be a way to manage either the Raster Function or the attribute table once the service has been published. If I open the service in Map Viewer, I can change which Processing Template is used, but I cannot edit the Processing Template. From what I could find, Map Viewer is the only place I can even find that the Processing Template exists in Portal. I have searched for the attribute table in Portal | Contents, but I am not finding it anywhere.
Based on this, it seems Esri has stuffed these resources in the black box and if we need to manage them, it means republishing the service. Do we have that right?
If there are docs on this somewhere, I’d love to see them!
I have read:
https://pro.arcgis.com/en/pro-app/3.4/help/analysis/raster-functions/raster-functions.htm
https://pro.arcgis.com/en/pro-app/3.4/help/analysis/raster-functions/raster-analysis-with-portal.htm
https://pro.arcgis.com/en/pro-app/3.4/help/analysis/raster-functions/processing-template-manager.htm
https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/publish-an-image-service.htm
https://support.esri.com/en-us/knowledge-base/publish-an-imagery-service-with-a-preferred-raster-func-000031281