FRAMES | NO FRAMES Description | Parameters | Examples | Response
HTML Popups
URL http://<feature-url>/htmlPopup
Required Capability Query

Description

The htmlPopup resource provides details about the HTML popup authored by the user using ArcGIS Desktop.

This resource is available when a layer resources htmlPopupType is not esriServerHTMLPopupTypeNone.

Resource Hierarchy

htmlpopup

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
gdbVersion //This option was added at 10.1

Description: GeoDatabase version to apply the edits. This parameter applies only if isDataVersioned property of the layer is true.
If this is not specified, edits are made to published map’s version.

Syntax:
gdbVersion=<version>
Example:
gdbVersion=SDE.DEFAULT

Example Usage

Example 1: http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Hydrography/Watershed173811/FeatureServer/1/1/htmlPopUp

JSON Response Syntax

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

JSON Response Example

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