本文簡要介紹 python 語言中 arcgis.apps.hub.initiatives.Initiative.update
的用法。
用法:
update(initiative_properties=None)
返回:
指示成功 (True) 或失敗 (False) 的布爾值。
更新倡議。
注意:
對於initiative_properties,僅傳入要更新的屬性的參數。所有其他屬性將保持不變。例如,如果您隻想更新倡議的說明,則隻需在initiative_properties 中提供說明參數。
Parameter
Description
initiative_properties
必需的字典。有關鍵和值,請參見下麵的 URL。
要查找參數 initiative_properties 的適用選項列表 -https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.Item.update
例子:
# USAGE EXAMPLE: Update an initiative successfully initiative1 = myHub.initiatives.get('itemId12345') initiative1.update(initiative_properties={'description':'Create your own initiative to organize people around a shared goal.'}) >> True
相關用法
- Python arcgis.apps.hub.Initiative.update用法及代碼示例
- Python arcgis.apps.hub.Initiative.delete用法及代碼示例
- Python arcgis.apps.hub.InitiativeManager.add用法及代碼示例
- Python ArcGIS InitiativeManager.clone用法及代碼示例
- Python arcgis.apps.hub.InitiativeManager.get用法及代碼示例
- Python arcgis.apps.hub.IndicatorManager.add用法及代碼示例
- Python ArcGIS IntegratedMeshLayer用法及代碼示例
- Python arcgis.apps.hub.Indicator.update用法及代碼示例
- Python arcgis.apps.hub.Indicator.delete用法及代碼示例
- Python ArcGIS Integration用法及代碼示例
- Python ArcGIS IndicatorData.add_filter用法及代碼示例
- Python ArcGIS ImageryLayer.thumbnail用法及代碼示例
- Python ArcGIS Item.publish用法及代碼示例
- Python ArcGIS ImageryLayer.draw_graph用法及代碼示例
- Python ArcGIS Item.reassign_to用法及代碼示例
- Python ArcGIS ImageryLayer.compute_stats_and_histograms用法及代碼示例
- Python ArcGIS ImageryTileManager.export用法及代碼示例
- Python ArcGIS ImageryLayer.plot_histograms用法及代碼示例
- Python ArcGIS ImageryLayerCacheManager.delete_tiles用法及代碼示例
- Python ArcGIS ImageryLayer.to_features用法及代碼示例
- Python ArcGIS Item.share用法及代碼示例
- Python ArcGIS Item.status用法及代碼示例
- Python ArcGIS Item.delete_relationship用法及代碼示例
- Python ArcGIS Item.download用法及代碼示例
- Python ArcGIS ImageryTileManager.estimate_size用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.apps.hub.initiatives.Initiative.update。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。