本文簡要介紹 python 語言中 arcgis.apps.workforce.managers.AssignmentManager
的用法。
用法:
class arcgis.apps.workforce.managers.AssignmentManager(project)
這管理項目中的分配。它可以作為
assignments
從項目中訪問Parameter
Description
project
必需的
Project
。要管理的項目。# Add / get assignments using assignment manager import arcgis gis = arcgis.gis.GIS("https://arcgis.com", "<username>", "<password>") item = gis.content.get("<item-id>") project = arcgis.apps.workforce.Project(item) assignment = project.assignments.add(assignment_type=type_1, location="100 Commercial St", geometry={'x': -7820308, 'y': 5412450}, status=0, priority=0) assignment_2 = project.assignments.get(object_id=2)
相關用法
- Python ArcGIS AssignmentType用法及代碼示例
- Python ArcGIS Assignment用法及代碼示例
- Python ArcGIS AssignmentTypeManager用法及代碼示例
- Python ArcGIS AssignmentIntegrationManager用法及代碼示例
- Python ArcGIS APIKeyManager.get用法及代碼示例
- Python ArcGIS APIKeyManager.create用法及代碼示例
- Python ArcGIS APIKey用法及代碼示例
- Python ArcGIS AWSIoT用法及代碼示例
- Python ArcGIS APIKeyManager.validate用法及代碼示例
- Python ArcGIS AzureServiceBus用法及代碼示例
- Python ArcGIS AzureEventHub用法及代碼示例
- Python ArcGIS APIKey.update用法及代碼示例
- Python ArcGIS power用法及代碼示例
- Python ArcGIS KnowledgeGraph.named_object_type_delete用法及代碼示例
- Python ArcGIS ContentManager.unshare_items用法及代碼示例
- Python ArcGIS ImageryLayer.thumbnail用法及代碼示例
- Python ArcGIS FormFieldElement用法及代碼示例
- Python ArcGIS Geometry.true_centroid用法及代碼示例
- Python ArcGIS Site.delete用法及代碼示例
- Python ArcGIS GeoAccessor.bbox用法及代碼示例
- Python arcgis.apps.hub.Initiative.update用法及代碼示例
- Python ArcGIS generate_service_areas用法及代碼示例
- Python ArcGIS build_overview用法及代碼示例
- Python ArcGIS RunInterval用法及代碼示例
- Python ArcGIS describe_dataset用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.apps.workforce.managers.AssignmentManager。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。