Select to view content in your preferred language

table support in SL API

809
1
03-05-2010 01:13 AM
Bende_Vries
Emerging Contributor
Hi, Rex, Morton,
What are your plans to support standalone tables in the API ? I am using beta 2. Will tablesupport be available in the next release ? I have a very urgent need to query tables. Already made my own interface on REST but really want to use your API. If I add a dummy geometry column (with null value) to the underlying table (based on an ArcMap query layer --> sqlserver view) I can at least see the table as a layer. However QueryTask.Query seems to require a Geometry and if I give it an Envelope(-180,-90,180,90) it does not return any features. I would expect to get all features, even the one's with a null geometry. Any suggestions ?
Thanks, Ben
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
ArcGIS REST 10 already supports Table-only data. Example:
http://servicesbeta.esri.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer/1/query?text=&...

The same goes for MapIt.

QueryTask does not require the geometry to be specified.
See: http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm#QueryWithoutMap
0 Kudos