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.
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.
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!
Has there been any updates from ESRI about enabling this functionality?
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.
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...
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...
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.