You are here: Using SOAP > v2006.1 services > Data Manager > Data Manager v2006.1 methods

Data Manager v2006.1 methods

Data Manager is also available through the ArcWeb site (Build tab). The ArcWeb site allows you to upload DBF and shape (SHP) files containing your data.

addFeatures(dataFileName:string, features:Feature[], rollbackOnError:boolean,token:string):FeatureIDInfo[]

createDataFile(dataFile:DataFile, token:string):void

deleteDataFile(dataFileName:string, token:string):void

deleteFeatures(dataFileName:string, featureIDs:string[], token:string):void

findFeatures(dataFileName:string, featureSearchOptions:FeatureSearchOptions, token:string):FeatureResultSet

geocodeFeatures(dataFileName:string, featureIDs:string[], geocodeOptions:GeocodeOptions, token:string):GeocodeInfo[]

getAvailableDataFileAttributes(token:string):Attributedesc[]

getDataFilesInfo(dataFileNames:string[], token:string):DataFileInfo[]

getUniqueValues(dataFileName:string, fieldName:string, resultSetRange:ResultSetRange, token:string):StringSet

getVersion:string

renameField(dataFileName:string, oldFieldName:string, newFieldName:string, token:string):void

updateDataFile(dataFileName:string, dataFile:DataFile, token:string):void

updateFeatures(dataFileName:string, featureUpdateOptions:FeatureUpdateOptions, featureIDs:string[], token:string):void

addFeatures

Adds features to an existing data file. First use the method createDataFileto create an empty data file, then use this method to add data to that file.  

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

The name of the data file to which to add data.

features

Feature[]

Feature parameters

rollbackOnError

boolean

Determines whether to roll back if an error occurs during the process. A value of "false" means any features added during the addFeatures request but before an error occurs are saved in the data file. Default value is "true".

token

string

Authentication token

Output

FeatureIDInfo[]

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

createDataFile

Creates an empty data file. Use the method addFeaturesto add data to the file.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFile

DataFile

DataFile parameters

token

string

Authentication token

Output

void

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

deleteDataFile

Deletes an empty data file. First use method deleteFeaturesto empty a data file you want to delete.
NOTE:
First, you must delete any layers that use the data file using the Content Library on the Build tab in the ArcWeb site. Then, you can delete the data file.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file to delete.

token

string

Authentication token

Output

void

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

deleteFeatures

Deletes features from a data file.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file from which to delete features.

featureIDs

string[]

The IDs of the features to delete. The IDs are stored in the object FeatureInfo when you add features through the method findFeatures. To delete features from a data file, first search for them using the method findFeatures.

token

string

Authentication token

Output

void

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

findFeatures

Returns features from a specified data file that meet the given search criteria.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file from which to find features.

featureSearchOptions

FeatureSearchOptions

FeatureSearchOptionsparameters

token

string

Authentication token

Output

FeatureResultSet

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

geocodeFeatures

Geocodes addresses or place names in a data file.  Data file features should contain x,y locations when used in a spatial query or map image data source.  First use the method addFeatures to add features to a data file, then use the method geocodeFeatures to geocode these features.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file from which to geocode features.

featureIDs

string[]

The IDs of the features to geocode. The IDs are returned from the object FeatureIDInfo when you add features through the method addFeatures.

geocodeOptions

GeocodeOptions

GeocodeOptions parameters

token

string

Authentication token

Output

GeocodeInfo[]

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

getAvailableDataFileAttributes

Returns the available metadata attribute names for data files.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

token

string

Authentication token

Output

Attributedesc[]

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

getDataFilesInfo

Returns information about specified data files.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileNames

string[]

An array of data file names. Send an empty array to return information on all available data files.

token

string

Authentication token

Output

DataFileInfo[]

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

getUniqueValues

Returns a unique value for each specified data file attribute.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Data file name for which to get unique values.

fieldName

string

Field name in the data file

resultSetRange

ResultSetRange

ResultSetRange parameters

token

string

Authentication token

Output

StringSet

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

getVersion

Returns the version number of Data Manager Web Service.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Output

string

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

renameField

Renames a field in a data file.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file containing the field name to change.

oldFieldName

 

Current field name

newFieldName

string

New field name

token

string

Authentication token

Output

void

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

updateDataFile

Updates a data file. You cannot change the geometry type of an existing data file. If you want change the geometry type, delete the file and create a new one.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file to update.

dataFile

DataFile

DataFile parameters. You cannot change the geometry type.

token

string

Authentication token

Output

void

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET

updateFeatures

Updates features in a data file.

Endpoint URL

http://www.arcwebservices.com/services/v2006_1/DataManager

Input

Name

Type

Valid values

dataFileName

string

Name of the data file in which to update features.

featureUpdateOptions

FeatureUpdateOptions

FeatureUpdateOptionsparameters

featureIDs

string[]

The IDs of the features to update. The IDs are returned from the object FeatureInfo when you add features through the method findFeatures.

token

string

Authentication token

Output

void

Code examples

C#.NET

ColdFusion

Java

Visual Basic .NET


Visit the Feedback page to give comments or suggestions about the ArcWeb Developer's Guide.

ArcWeb site | ArcWeb support | support.esri.com

Copyright © ESRI