- URL:
- https://<dynamic-feature-url>/htmlPopup
- Methods:
GET- Required Capability:
- Query
- Version Introduced:
- 10.0
Description
The html resource provides details about the HTML pop-up authored by the user using ArcGIS Pro. This resource is available when a dynamic resource's html property is not esri .
Request parameters
| Parameter | Details |
|---|---|
(Required) | Defines a dynamic layer. Only dynamic map layers are supported. Syntax Example |
| The response format. The default response format is Values: |
Example usage
The following is a sample request URL used to access the html resource, querying a specific dynamic map layer:
https://machine.domain.com/webadaptor/rest/services/USA/MapServer/dynamicLayer/1/htmlPopup?layer={"id":101,"source":{"type":"mapLayer","mapLayerId":2}}&f=pjsonJSON Response syntax
{
"htmlPopupType": "<esriServerHTMLPopupTypeNone | esriServerHTMLPopupTypeAsURL | esriServerHTMLPopupTypeAsHTMLText>",
"content": "<htmlContent>"
}JSON Response example
{
"htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
"content": "A Sample HTML pop up."
}