- URL:
- https://<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 layer resource's html is not esri .
Request parameters
| Parameter | Details |
|---|---|
| The geodatabase version to query. This parameter applies only if the object being queried has the If this is not specified, the query will apply to the published map's version. 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:
https://machine.domain.com/webadaptor/rest/services/Petroleum/StantonCountyKSLeases/MapServer/0/1/htmlPopup?f=pjsonJSON Response syntax
{
"htmlPopupType": "<esriServerHTMLPopupTypeNone | esriServerHTMLPopupTypeAsURL | esriServerHTMLPopupTypeAsHTMLText>",
"content": "<htmlContent>"
}JSON Response example
{
"htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
"content": "A Sample HTML pop up."
}