Skip to main content
Question

Publishing Imagery To ArcGIS Portal


deanhowell
Influencer
Forum|alt.badge.img+23

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. 

 

4 replies

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • June 9, 2025

There is a second API call you need to make. The one you’re currently using (addItem - https://developers.arcgis.com/rest/users-groups-and-items/add-item/) just uploads a file to AGOL. Onces its uploaded, you need to publish a service with the source data being the item you just added. Take a look at the publish endpoint - https://developers.arcgis.com/rest/users-groups-and-items/publish-item/


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • June 9, 2025

@hkingsbury thanks, I am using the publish item but I just can’t get it to work where the image is available to use in Portal. I must be using the wrong type or other attributes. Thanks again for taking the time to reply.


j.botterill
Influencer
Forum|alt.badge.img+40
  • Influencer
  • June 10, 2025

The AGOLOnline/PortalConnector has all these API calls implemented as “actions” into a UI.

For arcgis online you need to Upload, Publish and then Share the item to the Organisation as a whole… or alternatively share just as Owner but add a smaller “Group”

 


deanhowell
Influencer
Forum|alt.badge.img+23
  • Author
  • Influencer
  • June 10, 2025

Thanks ​@j.botterill , I will give that a go. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings