Feature service QueryHTMLPopups method
Queries and returns rich HTML formatted attributes for one or more rows.
QueryHTMLPopups(long LayerorTableID, long[] objectIDs, string VersionName)
Parameter |
Description |
---|---|
LayerorTableID |
The layer or standalone table id of the source layer or table. |
objectIDs |
An array of integers containing unique identifiers for feature/row (ObjectID) in the source layer/table whose attached multimedia data will be queried. |
VersionName | Geodatabase version to query. This parameter only applies to feature services that expose geodatabases. If not specified, queries are made against the published map's version. |
Return Value
An array of (string[]). Each string represents rich HTML formatted attributes of a feature.
Remarks
ID property of the DataObjectTable is used as LayerorTableID. The HTML content in results are returned in the same order the OIDs are passed in.
This function does not allow a client to format the attribute, instead it returns HTML content the way an author formatted the result in the source map.