Display Name: Clear Incidents
Description: Clears reported incidents on the map
Category:
Help URL: https://unosatgis.cern.ch/h/rest/directories/arcgisoutput/UNOCC/UNOCC_GP_IncidentVisibilityToggle_v1_GPServer/UNOCC_UNOCC_GP_IncidentVisibilityToggle_v1/CalculateField.htm
Execution Type: esriExecutionTypeSynchronous
Parameters:
Parameter: in_table
Data Type: GPFeatureRecordSetLayer
Display Name Input Table
Description: The table containing the field that will be updated with the new calculation.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Geometry Type: esriGeometryPoint
HasZ: false
HasM: false
Spatial Reference: 102100
(3857)
LatestVCSWkid(0)
Fields:
-
OBJECTID
(
type: esriFieldTypeOID, alias: OBJECTID
)
-
Type
(
type: esriFieldTypeString, alias: Type, length: 255
)
-
Description
(
type: esriFieldTypeString, alias: Description, length: 1000
)
-
Location
(
type: esriFieldTypeString, alias: Location, length: 255
)
-
GlobalID
(
type: esriFieldTypeGlobalID, alias: GlobalID, length: 38
)
-
CreationDate
(
type: esriFieldTypeDate, alias: CreationDate, length: 8
)
-
Creator
(
type: esriFieldTypeString, alias: Creator, length: 128
)
-
EditDate
(
type: esriFieldTypeDate, alias: EditDate, length: 8
)
-
Editor
(
type: esriFieldTypeString, alias: Editor, length: 128
)
-
Visibility
(
type: esriFieldTypeString, alias: Map Visibility, length: 256
)
Features: None.
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: field
Data Type: GPString
Display Name Field Name (Existing or New)
Description: The field that will be updated with the new calculation.If a field with the specified name does not exist in the input table, it will be added.
Direction: esriGPParameterDirectionInput
Filter:
Dependency: in_table
Default Value: Visibility
Parameter Type: esriGPParameterTypeRequired
Category:
Choice List: [ Visibility ]
Parameter: expression
Data Type: GPString
Display Name Expression
Description: The simple calculation expression used to create a value that will populate the selected rows.
Direction: esriGPParameterDirectionInput
Filter:
Dependency: in_table
Default Value: "No"
Parameter Type: esriGPParameterTypeRequired
Category:
Parameter: expression_type
Data Type: GPString
Display Name Expression Type
Description: Specifies the type of expression that will be used.Python—The Python expression type will be used.Arcade—The Arcade expression type will be used.SQL—The SQL expression type will be used.VBScript—The VBScript expression type will be used.If the input is a feature service, the default expression type is SQL. For any other type of input, the default expression type is Python.To learn more about Python expressions, see Calculate Field Python examples.To learn more about Arcade expressions, see the ArcGIS Arcade guide.To learn more about SQL expressions, see Calculate field values.SQL expressions support faster calculations for feature services and enterprise geodatabases. Instead of performing calculations one feature or row at a time, a single request is sent to the server or database, resulting in significantly faster calculations.Only feature services and enterprise geodatabases support SQL expressions. For other formats, use Python or Arcade expressions.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: Python
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ Python ]
Parameter: code_block
Data Type: GPString
Display Name Code Block
Description: A block of code that will be used for complex expressions.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value:
Parameter Type: esriGPParameterTypeOptional
Category:
Parameter: out_table
Data Type: GPFeatureRecordSetLayer
Display Name Updated Input Table
Description:
Direction: esriGPParameterDirectionOutput
Filter:
Dependency:
Default Value:
Geometry Type: esriGeometryPoint
HasZ: false
HasM: false
Spatial Reference: 102100
(3857)
LatestVCSWkid(0)
Fields:
-
OBJECTID
(
type: esriFieldTypeOID, alias: OBJECTID
)
-
Type
(
type: esriFieldTypeString, alias: Type, length: 255
)
-
Description
(
type: esriFieldTypeString, alias: Description, length: 1000
)
-
Location
(
type: esriFieldTypeString, alias: Location, length: 255
)
-
GlobalID
(
type: esriFieldTypeGlobalID, alias: GlobalID, length: 38
)
-
CreationDate
(
type: esriFieldTypeDate, alias: CreationDate, length: 8
)
-
Creator
(
type: esriFieldTypeString, alias: Creator, length: 128
)
-
EditDate
(
type: esriFieldTypeDate, alias: EditDate, length: 8
)
-
Editor
(
type: esriFieldTypeString, alias: Editor, length: 128
)
-
Visibility
(
type: esriFieldTypeString, alias: Map Visibility, length: 256
)
Features: None.
Parameter Type: esriGPParameterTypeDerived
Category:
Parameter: field_type
Data Type: GPString
Display Name Field Type
Description: Specifies the field type of the new field. This parameter is only used when the field name does not exist in the input table.If the field is of type text, the field will have a length of 512, unless the input is a shapefile or dBASE file, in which case the length will be 254. To adjust the length, use the Alter Field tool.Short (16-bit integer)—The field type will be short. Short fields support whole numbers between -32,768 and 32,767.Long (32-bit integer)—The field type will be long. Long fields support whole numbers between -2,147,483,648 and 2,147,483,647.Big integer (64-bit integer)—The field type will be big integer. Big integer fields support whole numbers between -(253) and 253Float (32-bit floating point)—The field type will be float. Float fields support fractional numbers between -3.4E38 and 1.2E38.Double (64-bit floating point)—The field type will be double. Double fields support fractional numbers between -2.2E308 and 1.8E308.Text—The field type will be text. Text fields support a string of characters.Date—The field type will be date. Date fields support date and time values.Date only—The field type will be date only. Date only fields support date values with no time values.Time only—The field type will be time only. Time only fields support time values with no date value.Timestamp offset—The field type will be timestamp offset. Timestamp offset fields support a date, time and offset from UTC value.Blob (binary data)—The field type will be BLOB. BLOB fields support data stored as a long sequence of binary numbers. You need a custom loader or viewer or a third-party application to load items into a BLOB field or view the contents of a BLOB field.GUID (globally unique identifier)—The field type will be GUID. GUID fields store registry-style strings consisting of 36 characters enclosed in curly brackets.Raster— The field type will be raster. Raster fields can store raster data in or alongside the geodatabase. All ArcGIS software-supported raster dataset formats can be stored, but it is recommended that only small images be used.
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: Text
Parameter Type: esriGPParameterTypeOptional
Category:
Choice List: [ Text ]
Parameter: enforce_domains
Data Type: GPBoolean
Display Name Enforce Domains
Description: Specifies whether field domain rules will be enforced.Checked—Field domain rules will be enforced. If a field cannot be updated, the field value will remain unchanged, and the tool messages will include a warning message.Unchecked—Field domain rules will not be enforced. This is the default
Direction: esriGPParameterDirectionInput
Filter:
Dependency:
Default Value: false
Parameter Type: esriGPParameterTypeOptional
Category:
Supported Operations:
Execute Task
Child Resources:
Metadata