Multiple popup elements

Explore in the sandboxView live

This sample demonstrates how to specify various types of popup elements within the PopupTemplate's content. There are five types of popup elements: fields, media, text, attachments, and custom. These elements can be used on their own or combined within the same template. The order in which the elements are listed determines how they will display within the popup. The popup displays fields in a tabular format, a descriptive text, media elements such as a chart and images, and lastly any attachments that may be associated with the feature.

In addition to working with multiple elements, this sample also demonstrates how to work with related tables. The fieldInfos and chart display information pulled from a related table to display various tree types within a set area.