arcgis-popup-templates

Configure ArcGIS popup templates with multiple content types and Arcade expressions.

Updated May 27, 2026
One-click install
npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-popup-templates-elowen53
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arcgis-popup-templates
Source: https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0/tree/main/skills/arcgis-popup-templates
Command: npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-popup-templates-elowen53

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Popup templates solve the challenge of presenting rich, configurable information for map features, enabling dynamic content with multiple content types.

Core Features & Use Cases

  • PopupTemplate supports content types: text, fields, media, attachments, expression, and customContent, plus relationship content.
  • Dynamic content via Arcade expressions and content arrays, enabling multi-section or conditional popups and flexible formatting.
  • Easy customization for titles, field formatting, actions, outFields, and related records to suit diverse GIS data.

Quick Start

Create a popupTemplate for a FeatureLayer that shows a title, text content, and a fields block with key attributes, then assign it to the layer.

Frequently Asked Questions about arcgis-popup-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create dynamic popup content in ArcGIS maps with multiple sections?

Dynamic ArcGIS popup content is created using a popupTemplate with content arrays and Arcade expressions. This approach enables multi-section or conditional popups by assembling text, fields, media, attachments, and related records in a flexible format.

What content types does an ArcGIS popupTemplate support?

An ArcGIS popupTemplate supports text, fields, media, attachments, expression, customContent, and relationship content types. These can be combined to present rich, configurable information for map features.

How do I use Arcade expressions to format conditional popup templates?

Conditional popup templates use expressionInfos within the popupTemplate to evaluate Arcade expressions. These expressions dynamically control content assembly, allowing you to display varying text, fields, or media based on feature attributes.

Can I display related records and attachments together in a single ArcGIS popup?

Yes, you can display related records and attachments together in a single ArcGIS popup. The popupTemplate supports configuring relationship content and attachments alongside text and fields within a content array.

Do I need outFields configured to display fields in an ArcGIS popup template?

Yes, configuring outFields is required for popup templates to ensure the necessary attribute data is available. The popupTemplate uses these fields to display values, execute Arcade expressions, and format dynamic content properly.