Select to view content in your preferred language

ArcGIS REST Services Directory - QueryTask - Join/Relates - Fully Qualified Names

1029
3
02-06-2013 09:45 AM
AntonioSergio
Esri Contributor
[ArcGIS Server 10.1 SP1 (Windows) / ArcGIS Desktop 10.1 SP1]

Hi all,

In ArcMap i made a map that joins a feature class of points to two standalone tables that contain the detailed information about each point and i published as a map service.

When i make in the ArcGIS REST Services Directory a Identify or a Find to the map service all works fine but....when i make a Query the result comes always with the fully qualified names for the fields (ex: GMAG.GMAGCREATOR.equipamentosCartaSocial_WGS84.Equipamento) not with the fields alias.

Can someone have an idea?

Thanks in advance,

António Sérgio
Tags (2)
0 Kudos
3 Replies
nicogis
MVP Alum
0 Kudos
AntonioSergio
Esri Contributor
Hi Domenico,

first of all thanks for your reply,

i have all the patchs available for ArcGIS Server 10.1 SP1 installed:
->Mosaic Dataset/Image services reprojection (ArcGIS-101SP1-S-MD-Patch.msp)
->Security Patch (ArcGIS-101SP1-S-Security-Patch.msp  )
->SQL Server 2012 (ArcGIS-101SP1-S-SQLSS-Patch.msp)


in attached i sendo two print screens that illustrate the problem....fully qualified names and no alias when making Querys to Feature Classes that have a Join or Relate, Find and Identify Task work as expected!

AS
0 Kudos
nicogis
MVP Alum
the explanation could be sought: if you see Find, Identify and query data used behind rest in arcobjects

Find
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Find_Method/0012000009m0...
"Find always honors field visibility, and by default it respects field aliases and field formatting set in the source map document..."

Identify
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Identify_Method/00120000...
"Identify always honors field visibility, and by default it respects field aliases and field formatting set in the source map document"

QueryFeatureData
http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/QueryFeatureData_Method/...
"QueryFeatureData honors field visibility set in the source map document. Field aliases, set in the source map document, are honored only when working with the MapServer WSDL or accessing a MapServer object through an AGSServerConnection (LAN or internet), but not honored for DCOM connection. However, the RecordSet does NOT honor any field formatting set in the source map. ..."
0 Kudos