Find in MapService tables

578
2
02-24-2011 02:11 AM
FilipJung
Occasional Contributor
Hi,
I've encountered problem when trying to use FindTask on table included in MapService. Because my table source was an Personal GDB, and there was no OBJECTID in the table I thought that is the reason. So I imported the table into SDE GDB (MS SQL) so OBJECTIDs were added. Nevertheless FindTask is still not working. REST returns:
{
  "error" : 
  {
    "code" : 400, 
    "message" : "Unable to complete  operation.", 
    "details" : [
      "Error"
    ]
  }
}


Is it somehow possible to use Find operation on table, or is Query the only possibility? Thanks for help.
0 Kudos
2 Replies
RaviNarayanan
Esri Contributor
Filip,
FIND operation is supported only with Feature layers and not tables.
0 Kudos
FilipJung
Occasional Contributor
Thanks for reply. So I will utilize QUERY instead of FIND.
0 Kudos