Define display field for a dynamic layer

614
0
10-18-2016 08:13 AM
EricPaitz
Esri Contributor

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

0 Kudos
0 Replies