本文簡要介紹 python 語言中 arcgis.apps.hub.sites.PageManager.link
的用法。
用法:
link(page, site=None, slug=None)
返回:
一個布爾值,包含 True(成功)或 False(失敗)。
將頁麵鏈接到特定站點。
Parameter
Description
page
必需的字符串。要鏈接的頁麵對象。
site
可選站點。鏈接頁麵的站點對象。
slug
可選字符串。本站點中頁麵的 slug 引用。
示例 1:
# USAGE EXAMPLE: Link a page successfully for specific site mySite.pages.link(page_id='itemId12345') >> True
示例 2:
# USAGE EXAMPLE: Link a page successfully for site object passed as param myHub.pages.link(page_id='itemId12345', site=mySite) >> True
相關用法
- Python ArcGIS PageManager.clone用法及代碼示例
- Python ArcGIS PageManager.add用法及代碼示例
- Python ArcGIS PageManager.unlink用法及代碼示例
- Python ArcGIS PageManager.get用法及代碼示例
- Python ArcGIS Page.delete用法及代碼示例
- Python ArcGIS Page.update用法及代碼示例
- Python ArcGIS PortalLicense.update用法及代碼示例
- Python ArcGIS PortalDataStore.register用法及代碼示例
- Python ArcGIS Polygon.coordinates用法及代碼示例
- Python ArcGIS Project用法及代碼示例
- Python ArcGIS ProfileManager.create用法及代碼示例
- Python ArcGIS PortalDataStore.unregister用法及代碼示例
- Python ArcGIS ProfileManager.get用法及代碼示例
- Python ArcGIS Point3DLayer用法及代碼示例
- Python ArcGIS PortalDataStore.servers用法及代碼示例
- Python ArcGIS PortalDataStore用法及代碼示例
- Python ArcGIS PortalDataStore.describe用法及代碼示例
- Python ArcGIS PortalDataStore.layers用法及代碼示例
- Python ArcGIS ProfileManager.save_as用法及代碼示例
- Python ArcGIS PortalDataStore.validate用法及代碼示例
- Python ArcGIS ProfileManager.delete用法及代碼示例
- Python ArcGIS PortalDataStore.publish用法及代碼示例
- Python ArcGIS PortalDataStore.delete_layers用法及代碼示例
- Python ArcGIS PortalAdminManager.mode用法及代碼示例
- Python ArcGIS Point.coordinates用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 arcgis.apps.hub.sites.PageManager.link。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。