popupElement attachments

Configures attachments in popup elements.

Referenced by: popupElement

Properties

Property Details
description An optional string value describing the element in detail.
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. The default auto setting allows applications to choose the most suitable default experience.
Valid values:
  • auto
  • list
  • preview
orderByFields[] Array of orderByField objects indicating the display order for the attachments, and whether they should be sorted in ascending 'asc' or descending 'desc' order.
title An optional string value indicating what the element represents.
type
Valid value of this property 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.