popupElement attachments

Configures attachments in popup elements.

Referenced by: popupElement

Properties

Property Details
description An optional string value describing the element in detail. This property does not apply when the type is text or expression.
displayType This property applies to elements of type attachments. A string value indicating how to display the attachment. If list is specified, attachments show as links. If preview is specified, attachments expand to the width of the pop-up. Setting the value to auto allows applications to choose the most suitable default experience for their application.
Valid values:
  • auto
  • list
  • preview
orderByFields[] Array of orderByField objects indicating the display order for attachments, and whether they should be sorted in ascending 'asc' or descending 'desc' order.
title An optional string value indicating what the element represents. This property does not apply when the type is text or expression.
type
Valid value of this property attachments

popupElement attachments Example

{
  "type": "attachments",
  "displayType": "list",
  "orderByFields": [
    {
      "field": "id",
      "order": "desc"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close