interface PopupInfoJson {
    description?: string;
    expressionInfos?: PopupExpressionInfoJson[];
    fieldInfos?: FieldInfoJson[];
    mediaInfos?: MediaInfoJson[];
    popupElements?: PopupElementJson[];
    relatedRecordsInfo?: RelatedRecordsInfoJson;
    showAttachments?: boolean;
    title?: string;
}

Properties

description?: string

A string that appears in the body of the pop-up window as a description. This can contain a field name enclosed in {}, such as {DETAILS}.

expressionInfos?: PopupExpressionInfoJson[]

List of Arcade expressions added to the pop-up.

fieldInfos?: FieldInfoJson[]

An array of FieldInfoJson objects defining how each field in the dataset participates (or does not participate) in the pop-up window. The order of the array is the order that fields are shown in the pop-up window.

mediaInfos?: MediaInfoJson[]

Array of various mediaInfo to display. Can be of type image, piechart, barchart, columnchart, or linechart. The order given is the order in which is displays.

popupElements?: PopupElementJson[]

An array of popupElement objects that represent an ordered list of popup elements.

relatedRecordsInfo?: RelatedRecordsInfoJson

Indicates whether to enable related records if they exist on a layer.

showAttachments?: boolean

Determines whether attachments will be loaded for feature layers that have attachments.

title?: string

Appears at the top of the pop-up window as a title. This can contain a field name enclosed in {}, such as {NAME}.