Maptitude GISDK Help

GetReadOnlyFields()

Summary

Gets a list of the read-only fields in a view.

 

Syntax

fields_array = GetReadOnlyFields(string view_name, string field_type, array options)

 

Argument Contents
view_name The input view; or null for the current view
field_type The string "All" to return a list of all fields in the view; the string "String" to return a list of string-typed fields, the string "Numeric" to return a list of all integer- and real-typed fields or the string "ABBA"to return a list of "dual fields.

 

No options are currently supported.

 

Returns

An array of two (2) elements:

 

Element Type Contents
1 Array An array of field names (strings)
2 Array An array of field specs (strings)

 

Notes

Example

tmp = GetReadOnlyFields ("U.S. States", "All")

editable_field_names = tmp[1]

editable_field_specs = tmp[2]

 

See Also

Function Summary
GetMappableFields() Creates a list of the fields that are mappable to a layer
GetField() Returns the view, field name, and field spec for a field
GetFieldFullSpec() Returns a full field spec for a field name
GetFieldProtection() Gets a string that indicates whether a field is read-only
GetFields() Gets a list of the fields in a view
GetEditableFields() Gets a list of the editable fields in a view

 

 

©2025 Caliper Corporation www.caliper.com