ExtendedPropertyValue

サマリー

ArcPy class that provides access to the individual cell for extended and linked properties associated with the job.

説明

Extended and linked properties store business-specific information as part of the job that is not covered by the default job properties. Extended properties have one-to-one (1-1) cardinality, and there is one set of properties associated with the job. Linked properties have one-to-many (1-many) cardinality, and there are zero or more sets of properties associated with the job. Extended and linked properties are stored in a nonsystem geodatabase table in the Workflow Manager (Classic) repository.

プロパティ

プロパティ説明データ タイプ
canUpdate
(読み取り専用)

Indicates whether the cell is editable and can be updated.

Boolean
data
(読み書き)

The value (string, integer, or date) of the extended property cell.

Variant
displayOrder
(読み取り専用)

The position of the field when displayed in ArcGIS Pro.

Integer
displayType
(読み取り専用)

Indicates how the user will enter information into this field in ArcGIS Pro.

  • defaultDisplay type is based on the type of field added to the extended property table.
  • textText value entered in a text box.
  • dateDate value typed or entered using the date picker.
  • domainSelect value from geodatabase domain presented in a drop-down list.
  • fileBrowse for a file and store file path as the value.
  • geodatasetBrowse for a geodataset and store its path as the value.
  • folderBrowse for a folder and store its path as the value.
  • tablelistSelect a value from a list of values in a table other than system table in the Workflow Manager (Classic) database.
  • multi-level-tablelistSelect a value from a list of values in a table that further filters the values in the next field from the same table.
String
domain
(読み取り専用)

The name of the geodatabase domain, if a domain exists for the field.

String
filter
(読み取り専用)

In ArcGIS Pro when using a file browser to enter information, this filter will limit the types of files that are presented for selection.

String
ID
(読み取り専用)

The object ID of the extended property record.

Integer
length
(読み取り専用)

The field length of the extended property cell.

String
propAlias
(読み取り専用)

The alias of the extended property field that is displayed in ArcGIS Pro.

String
propName
(読み取り専用)

The name of extended property field.

String
required
(読み取り専用)

Indicates whether a value for the field is required.

Boolean
tableListClass
(読み取り専用)

The name of the geodatabase table containing the list of values displayed in a drop-down list for selection, when using a table list display type.

String
tableListDisplayField
(読み取り専用)

The name of the field containing the value to be displayed in a drop-down list for selection, when using a table list display type.

String
tableListStoreField
(読み取り専用)

The name of the field containing the value to store in the extended property field, when using a table list display type.

String
userVisible
(読み取り専用)

Indicates whether the property is visible in ArcGIS Pro.

Boolean

コードのサンプル

The following script updates the values for extended property cells.

import arcpy


#Establish a connection to a Workflow database
conn = arcpy.wmx.Connect(r'c:\test\Workflow.jtc')

#Access a Workflow Job with extended properties
job = conn.getJob(99999)

#Get the extended properties table associated with the job
prop_table = job.getExtendedPropertyTable('wmx.extra_properties')

#Update value of extended property fields
prop_table['parcel_number'].data=12345
prop_table['requestor_name'].data='Planning Commission'
prop_table['request_date'].data=datetime.datetime(2015, 4, 30, 12, 30, 45)
job.save()