Select to view content in your preferred language

Ability to hide/remove attachment filename from Operational Dashboard media

5103
13
01-24-2020 09:16 AM
Status: Implemented
by Anonymous User
Not applicable

When showing attachments in the detail widget of an operational dashboard by enabling media you cannot currently remove the filename being displayed with the image. It would be great if we could disable this/have the option to hide it. 

13 Comments
BjornSvensson

I'm not sure how to do it in a dashboard, but the fix that went into the JSAPI was
ArcGIS Ideas - 940733: Attachment content file names are automatically hidden when the displayType i... 

Reading https://developers.arcgis.com/javascript/latest/api-reference/esri-popup-content-AttachmentsContent.... it depends on both the capabilities of the feature layer and which displayType is used. Maybe @patrickb can help out?

BronwenHughes

Hi @BjornSvensson  thanks for your reply. There isn't an option to change the displayType in the Configure menu of the dashboard's 'Details' element:

BronwenHughes_0-1719203511736.png

Any other ideas?

patrickb

Rather than there being a specific toggle for attachment filenames on/off in the Details config dialogs, it will respect the 'Display attachments as ...' setting on the layer itself (see Map Viewer example below). 

 

patrickb_0-1719234001028.png