I have a workbench that can take in various formats, at present vector and web services, and publishes these items to ArcGIS Enterprise Portal.
I would like to extend the functionality to enable the users to also upload raster imagery i.e geotiff, jpg, etc.
I am using a HTTP caller to use the ArcGIS API additem call to add the file to portal and then using the API publish to publish the image, but it never works.
I can do it via ArcGIS Pro and end up with a ‘Map Image Layer’.
But I can’t figure out the correct process starting with a zipped file containing the image and ending up with an item in ArcGIS Portal that can be used a map service.
Any advice would be greatly appreciated.