This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/supportClasses/TableDetails.html.
Packagecom.esri.ags.layers.supportClasses
Classpublic class TableDetails
InheritanceTableDetails Inheritance flash.events.EventDispatcher
Subclasses FeatureTableDetails

Since : ArcGIS API for Flex 2.0

Contains detailed information about a table in a map service. This is equivalent to the detailed information in the Services Directory, for example http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer/1.

See also

com.esri.ags.layers.ArcGISDynamicMapServiceLayer.getDetails()
com.esri.ags.layers.ArcGISTiledMapServiceLayer.getDetails()
com.esri.ags.layers.FeatureLayer.tableDetails
com.esri.ags.tasks.DetailsTask.getDetails()
AllDetails


Public Properties
 PropertyDefined By
  capabilities : Array
Capabilities of the table, possible values are Map, Query, Data, and/or Editing.
TableDetails
  definitionExpression : String
The definition expression of the table as specified in the Service Directory.
TableDetails
  description : String
The description of the table as specified in the Service Directory.
TableDetails
  displayField : String
The displayField of the table as specified in the Service Directory.
TableDetails
  fields : Array
The fields of the table as specified in the Service Directory.
TableDetails
  hasAttachments : Boolean
Indicates whether the table has attachments or not [added in version 2.0].
TableDetails
  htmlPopupType : String
The type of HTML popup authored (or not authored) by the user using ArcGIS Desktop [added in version 2.0].
TableDetails
  id : Number
Table ID assigned by ArcGIS Server for a table.
TableDetails
  name : String
Table name as defined in the map service.
TableDetails
  objectIdField : String
The name of the object ID field.
TableDetails
  relationships : Array
List of related tables.
TableDetails
  timeInfo : TimeInfo
Time properties of the table.
TableDetails
  type : String
Value will always be "Table".
TableDetails
  typeIdField : String
The field that represents the Type ID field.
TableDetails
  types : Array
Subtypes are a subset of features in a feature class, or objects in a table, that share the same attributes.
TableDetails
  version : Number
The version of ArcGIS Server where the table is published to, for example, 9.3, 9.31, 10, 10.01 or 10.1.
TableDetails
Public Constants
 ConstantDefined By
  POPUP_HTML_TEXT : String = esriServerHTMLPopupTypeAsHTMLText
[static] The HTML Popup in ArcGIS Desktop was defined using "As a table of the visible fields".
TableDetails
  POPUP_NONE : String = esriServerHTMLPopupTypeNone
[static] No HTML Popup was defined in ArcGIS Desktop.
TableDetails
  POPUP_URL : String = esriServerHTMLPopupTypeAsURL
[static] The HTML Popup in ArcGIS Desktop was defined using "As a URL".
TableDetails
Property Detail
capabilitiesproperty
capabilities:Array

Capabilities of the table, possible values are Map, Query, Data, and/or Editing.

This property can be used as the source for data binding.


Implementation
    public function get capabilities():Array
    public function set capabilities(value:Array):void
definitionExpressionproperty 
definitionExpression:String

The definition expression of the table as specified in the Service Directory.

This property can be used as the source for data binding.


Implementation
    public function get definitionExpression():String
    public function set definitionExpression(value:String):void
descriptionproperty 
description:String

The description of the table as specified in the Service Directory.

This property can be used as the source for data binding.


Implementation
    public function get description():String
    public function set description(value:String):void
displayFieldproperty 
displayField:String

The displayField of the table as specified in the Service Directory.

This property can be used as the source for data binding.


Implementation
    public function get displayField():String
    public function set displayField(value:String):void
fieldsproperty 
fields:Array

The fields of the table as specified in the Service Directory.

This property can be used as the source for data binding.


Implementation
    public function get fields():Array
    public function set fields(value:Array):void

See also

hasAttachmentsproperty 
hasAttachments:Boolean

Indicates whether the table has attachments or not [added in version 2.0].

This property can be used as the source for data binding.


Implementation
    public function get hasAttachments():Boolean
    public function set hasAttachments(value:Boolean):void
htmlPopupTypeproperty 
htmlPopupType:String

The type of HTML popup authored (or not authored) by the user using ArcGIS Desktop [added in version 2.0]. See the POPUP_* constants for more details.

This property can be used as the source for data binding.


Implementation
    public function get htmlPopupType():String
    public function set htmlPopupType(value:String):void
idproperty 
id:Number

Table ID assigned by ArcGIS Server for a table. The topmost layer is 0, and each layer follows sequentially. If a layer is added or removed from the source map document, the ID values will shift accordingly.

This property can be used as the source for data binding.


Implementation
    public function get id():Number
    public function set id(value:Number):void
nameproperty 
name:String

Table name as defined in the map service.

This property can be used as the source for data binding.


Implementation
    public function get name():String
    public function set name(value:String):void
objectIdFieldproperty 
objectIdField:String

The name of the object ID field.

This property can be used as the source for data binding.


Implementation
    public function get objectIdField():String
    public function set objectIdField(value:String):void
relationshipsproperty 
relationships:Array

List of related tables.

This property can be used as the source for data binding.


Implementation
    public function get relationships():Array
    public function set relationships(value:Array):void

See also

timeInfoproperty 
timeInfo:TimeInfo

Time properties of the table.

This property can be used as the source for data binding.


Implementation
    public function get timeInfo():TimeInfo
    public function set timeInfo(value:TimeInfo):void
typeproperty 
type:String

Value will always be "Table".

This property can be used as the source for data binding.


Implementation
    public function get type():String
    public function set type(value:String):void
typeIdFieldproperty 
typeIdField:String

The field that represents the Type ID field.

This property can be used as the source for data binding.


Implementation
    public function get typeIdField():String
    public function set typeIdField(value:String):void
typesproperty 
types:Array

Subtypes are a subset of features in a feature class, or objects in a table, that share the same attributes. They are used as a method to categorize your data.

This property can be used as the source for data binding.


Implementation
    public function get types():Array
    public function set types(value:Array):void

See also

versionproperty 
version:Number

Since : ArcGIS API for Flex 2.2

The version of ArcGIS Server where the table is published to, for example, 9.3, 9.31, 10, 10.01 or 10.1.

This property can be used as the source for data binding.


Implementation
    public function get version():Number
    public function set version(value:Number):void
Constant Detail
POPUP_HTML_TEXTConstant
public static const POPUP_HTML_TEXT:String = esriServerHTMLPopupTypeAsHTMLText

The HTML Popup in ArcGIS Desktop was defined using "As a table of the visible fields".

POPUP_NONEConstant 
public static const POPUP_NONE:String = esriServerHTMLPopupTypeNone

No HTML Popup was defined in ArcGIS Desktop.

POPUP_URLConstant 
public static const POPUP_URL:String = esriServerHTMLPopupTypeAsURL

The HTML Popup in ArcGIS Desktop was defined using "As a URL".