AnsweredAssumed Answered

Define display field for a dynamic layer

Question asked by epaitz-esristaff Employee on Oct 18, 2016

Is it possible to define the display field for a dynamic layer? We rely on defining our dynamic layers using a table or query source like the following.

 

{

   "source": {

      "type": "dataLayer",

      "dataSource" : {

         "type": "table",

         "workspaceId": "<workspace_id>",

         "datSourceName: "<data_source_name>"

      }

   }

}

Server seems to automatically set the Display Field to the first string field it finds. Is it possible to define the name of the display field when defining the dynamic layer?

 

Thanks,

   -eric

Outcomes