Hi Jennifer.
Yes that is correct. If I hit the REST end point of the service it shows the fields name fully qualified. Same if I query the layer that why the JSON results have the qualified names as shown here -
"fields" : [
{
"name" : "ppqtest.DBO.irfa_qbnd2009_test.OBJECTID",
"type" : "esriFieldTypeOID",
"alias" : "OBJECTID"},
{
"name" : "ppqtest.DBO.irfa_qbnd2009_test.Quarantine",
"type" : "esriFieldTypeInteger",
"alias" : "Quarantine"},
{
"name" : "ppqtest.DBO.irfa_qbnd2009_test.Shape",
"type" : "esriFieldTypeGeometry",
"alias" : "Shape"},
{
"name" : "irfajoin.OID",
"type" : "esriFieldTypeInteger",
"alias" : "OID"},
{
"name" : "irfajoin.Field1",
"type" : "esriFieldTypeInteger",
"alias" : "Field1"},
{
"name" : "irfajoin.irfaoid",
"type" : "esriFieldTypeInteger",
"alias" : "irfaoid"},
{
"name" : "irfajoin.testfield",
"type" : "esriFieldTypeString",
"alias" : "testfield",
"length" : 50}
],
Result from querying for an known Object ID -
"features" : [
{
"attributes" : {
"ppqtest.DBO.irfa_qbnd2009_test.OBJECTID" : 403,
"ppqtest.DBO.irfa_qbnd2009_test.Quarantine" : null,
"irfajoin.OID" : 0,
"irfajoin.Field1" : 403,
"irfajoin.irfaoid" : 403,
"irfajoin.testfield" : "test data from joined table"
},
"geometry" : {
"rings" : [ ......
However in the graphic that comes back from the identify the Keys in .Attributes are not qualified-
(dumped this out via foreach (f in g.Attributes){system.diagnostics.debug.writeline(f);}
[OBJECTID, 403]
[Quarantine, Null]
[Shape, Polygon]
[OID, 0]
[Field1, 403]
[irfaoid, 403]
It seems that when the IDictionary is getting populated the Alias is being used for the key and not the Name.
Does that make more sense?