Select to view content in your preferred language

Enable Enterprise Portal Layers in Map Viewer to Use Gallery Display for Attachments

1573
6
06-26-2023 05:53 AM
Status: Open
SheriNorton
Frequent Contributor

I have a standalone table with attachments published through our Enterprise Portal. However, the option to display the attachments as a Gallery rather than a simple list is inactive with the warning message: This layer only supports list view. Apparently this option is only provided for AGOL-hosted layers.

SheriNorton_0-1687783834046.png

 

There is a past case from 2020 regarding this exact question. At that time ESRI indicated they were working on enabling non-AGOL hosted layers with Gallery display. Would appreciate updated information about the ETA for this functionality? None of our data is hosted through AGOL - we frankly do not have the credits to handle this and all of our data is managed through Enterprise Portal.

Tags (2)
6 Comments
ZachBodenner

I have this issue as well with slightly different criteria:

When I add a layer as a feature service <rest URl/FeatureServer/0> for example, then I can get all of the options, but when I add it as <rest URl/MapServer/0> then I get only list. I'm working with referenced data in Enterprise - this seems like it should just never be an issue. I want a edit-proofed service that can show attachments!

CarliePerez1

Has there been any updates from ESRI about enabling this functionality? 

GISNCC
by

Having this issue today.  Very annoying.  I can put the images in a list widget and they will show up but not in a pop up.

 

ALBJORGUI

Still now luck with this? Does anyone have any ETA for this? 

It seems strange that so much time has passed and we are still waiting...

ChristopherBowering

ESRI documentation specifies attachments should be available as list or gallery for "server-based layers from ArcGIS Enterprise 11.1 onwards and hosted feature layers from 10.9.1 onwards".  However, there is no mention of map service vs feature service and why the options are different.  This issue occurs in AGOL as well which means any potential fix for it in Enterprise/Portal is likely a ways off since AGOL always receives fixes/updates first.  I have submitted multiple support cases over the past few years of inconsistent behaviors between map and feature services which were not in any documentation.  Unfortunately this probably falls into that category...

DavidOutrata

I found a partial workaround:

If you have one attachment for every feature, you can add picture by adding Image in your Pop-up. Then you configure URL by this expression:

Concatenate(['https://ags.site.com/arcgis/rest/services/folder/name of layer/MapServer/no. of sublayer/',$feature.OBJECTID,'/attachments/',$feature.OBJECTID])