Skip To Content
ArcGIS Developer

HTML Popup (Feature Service)

  • URL:https://<feature-url>/htmlPopup
  • Required Capability:Query
  • Version Introduced:10.0


The htmlPopup resource provides details about the HTML pop-up authored by the user using ArcMap and ArcGIS Pro.

This resource is available when a layer resource's htmlPopupType is not esriServerHTMLPopupTypeNone.

Request parameters


The geodatabase version to query. This parameter applies only if the isDataVersioned property of the layer is true. If this is not specified, the query will apply to the published map’s version.

Syntax: gdbVersion=<version>

Example: gdbVersion=SDE.DEFAULT


The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample request for the htmlPop resource:

JSON Response syntax

  "htmlPopupType": "<esriServerHTMLPopupTypeNone | esriServerHTMLPopupTypeAsURL | esriServerHTMLPopupTypeAsHTMLText>",
  "content": "<htmlContent>"

JSON Response example

  "htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
  "content": "A <b>Sample HTML</b> pop up."