漏洞
| 漏洞 ID 编号 | BUG-000163394 |
|---|---|
| 已提交 | December 3, 2023 |
| 上次修改时间 | May 8, 2025 |
| 适用范围 | ArcGIS Pro |
| 找到的版本 | 3.2 |
| 操作系统 | Windows OS |
| 操作系统版本 | 11.0 64 bit |
| 状态 | Known Limit |
fc = "DBO.Points"
desc = arcpy.Describe(fc)
fms = arcpy.FieldMappings()
fms.addTable(fc)
if desc.editorTrackingEnabled:
tracking_fields = [
desc.creatorFieldName,
desc.createdAtFieldName,
desc.editorFieldName,
desc.editedAtFieldName
]
for tf in tracking_fields:
fm = arcpy.FieldMap()
fm.addInputField(fc, tf)
fms.addFieldMap(fm)
arcpy.conversion.ExportFeatures(fc, "memory/test", field_mapping=fms)
For more information on accessing tracking field information via arcpy.Describe(), see https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/editor-tracking-properties.htm
漏洞 ID: BUG-000163394
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序