- URL:
- https://<root>/<serviceName>/FeatureServer/<layerId>/<featureId>/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 Syntax Example |
| The response format. The default response format is Values: |
Example usage
The following is a sample request used to access the html resource:
https://machine.domain.com/webadaptor/rest/services/Hydrography/Watershed173811/FeatureServer/1/1/htmlPopUp?f=pjsonJSON Response syntax
{
"htmlPopupType": "<esriServerHTMLPopupTypeNone | esriServerHTMLPopupTypeAsURL | esriServerHTMLPopupTypeAsHTMLText>",
"content": "<htmlContent>"
}JSON Response example
{
"htmlPopupType": "esriServerHTMLPopupTypeAsHTMLText",
"content": "A <b>Sample HTML</b> pop up."
}