SharePoint 2013 CSOM 物件模型屬性包
部落格地址:http://blog.csdn.net/FoxDave
雖說是翻譯,但是並沒什麼翻譯的,主要內容就是說有一些能通過Server API配置的Site/Web屬性在CSOM中找不到,其實是隱藏到了AllProperties這個屬性裡,它是一個鍵值對。如果想檢視都有哪些屬性可以用SharePoint Online Client Browser工具或者訪問http://host/site/_api/web/allProperties這個URL檢視。
下面附上原文和屬性的對應關係。
Recently I was trying to configure some site properties via CSOM using PowerShell and I discovered that for many of the site/web properties that you could modify via the server side API were not available in CSOM. It took a bit of head scratching before I found the answer.
So, it turns out that most Site/Web properties that are related/tied to features will only be accessible via the Site/Web Property Bag. Ok, so where can we find the reference for all the Property Bag keys and values…ya, after much searching, blood, and tears, I couldn’t find it (as of this writting). So I’m sure MS will unceremoniously post it one of these days, please notify me when that happens. Until then, below is a working breakout of all the Property Bag keys and example values I could find.
You can get a breakout of all the Property Bag keys and values on your site by opening this URL [http://host/site/_api/web/allProperties] in your browser.
Again, this is a working breakout, so please notify me as you see errors or you find keys and/or values I might have missed.
PROPERTY FRIENDLY NAME | KEY |
KEY: allowdesigner
| |
KEY: allowmasterpageediting
| |
KEY: allowrevertfromtemplate
| |
KEY: allowslistpolicy
| |
KEY: Community_MembersCount
| |
KEY: Community_RepliesCount
| |
KEY: Community_TopicsCount
| |
KEY: disabledhelpcollections
| |
KEY: dlc_sitehasexpirationpolicy
| |
KEY: dlc_sitehaspolicy
| |
KEY: dlc_webhasexpirationpolicy
| |
KEY: enabledhelpcollections
| |
KEY: FollowLinkEnabled
| |
KEY: helplibraryurl
| |
KEY: htmldesignviewnamealldevicechannelssimplelisting
| |
KEY: htmldesignviewnamedesigntemplates
| |
KEY: htmldesignviewnamehtmldesignfiles
| |
KEY: htmldesignviewnamehtmldesignsandrelatedfiles
| |
KEY: htmldesignviewnamehtmlmasterpages
| |
KEY: htmldesignviewnamehtmlpagelayouts
| |
KEY: Microsoft.SharePoint.WorkflowServices.SPWebApplicationIdentifier | |
KEY: Microsoft.SharePoint.WorkflowServices.SPWebScopeProperties
| |
KEY: Microsoft.SharePoint.WorkflowServices.SPWebScopeUri
| |
KEY: OData___AllowExternalEmbedding
| |
KEY: OData___CacheProfileListId
| |
KEY: OData___CurrentDynamicChildLimit
| |
KEY: OData___CurrentNavigationExcludes
| |
KEY: OData___CurrentNavigationIncludeTypes
| |
KEY: OData___DefaultPageLayout
| |
KEY: OData___DisplayShowHideRibbonActionId
| |
KEY: OData___DocumentsListId
| |
KEY: OData___GlobalDynamicChildLimit
| |
KEY: OData___GlobalNavigationExcludes
| |
KEY: OData___GlobalNavigationIncludeTypes
| |
KEY: OData___ImagesListId
| |
KEY: OData___NavigationOrderingMethod
| |
KEY: OData___NoMobileMappingf300e892f08347d4b47b1a32e65f7ba6
| |
KEY: OData___PagesListId
| |
KEY: OData___PublishingFeatureActivated
| |
KEY: OData___PublishingFeatureMdsDisabled
| |
KEY: OData___ScriptSafeInternalPages
| |
KEY: OData___SiteColDocumentsListId
| |
KEY: OData___SiteColImagesListId
| |
KEY: OData__auditlogreportstoragelocation
| |
KEY: OData__auditlogtrimmingcallout
| |
KEY: OData__auditlogtrimmingretention
| |
KEY: OData__holds_list_cache_
| |
KEY: OData__PublishedLinksListId
| |
KEY: OData__ReusableContentListId
| |
KEY: OData__SmtReportsListId
| |
KEY: OData__VarLabelsListId
| |
KEY: OData__VarRelationshipsListId
| |
KEY: OData__VTI_ACCESSREQUESTSLISTID
| |
KEY: OData__VTI_PENDINGREQUESTSVIEWID
| |
KEY: profileschemaversionTYPE: intVALUE EXAMPLE: 6 | |
KEY: SaveSiteAsTemplateEnabled
| |
KEY: seocanonicallinkparameterlistpropertyname | |
KEY: seocustommetatagpropertyname | |
KEY: seoenablecanonicallinkparameterspropertyname
| |
KEY: seoincludecustommetatagpropertyname
| |
KEY: seositemapgeneratedpropertyname
| |
KEY: sharepointhelpoverride
| |
KEY: showurlstructure
| |
KEY: SiteCollectionGroupIdf5d847c7_x002d_3f02_x002d_4b79_x002d_a0d1_x002d_cc182cef3aa6
| |
Search Center URL | KEY: SRCH_ENH_FTR_URL
|
Search Center URL (SITE) | KEY: SRCH_ENH_FTR_URL_SITE
|
Search Center URL (Web) | KEY: SRCH_ENH_FTR_URL_WEB
|
KEY: SRCH_SB_SET_SITE
| |
KEY: SRCH_SB_SET_WEB
| |
Search Scope Drop Down Options Mode | KEY: SRCH_SITE_DROPDOWN_MODE
|
Target Search Results Page | KEY: SRCH_TRAGET_RESULTS_PAGE
|
KEY: taxonomyhiddenlist
| |
KEY: vti_approvallevels
| |
KEY: vti_associategroups
| |
KEY: vti_associatemembergroup
| |
KEY: vti_associateownergroup
| |
KEY: vti_associatevisitorgroup
| |
KEY: vti_categories
| |
KEY: vti_createdassociategroups
| |
KEY: vti_customuploadpage
| |
KEY: vti_defaultcharset
| |
KEY: vti_defaultlanguage
| |
KEY: vti_extenderversion
| |
KEY: vti_filedialogpostprocessorid
| |
KEY: vti_filenotfoundpage
| |
KEY: vti_ignorekeyboard
| |
KEY: vti_indexedpropertykeys
| |
KEY: vti_mastercssfilecache
| |
KEY: vti_navbuttonhomelabel
| |
KEY: vti_navbuttonnextlabel
| |
KEY: vti_navbuttonprevlabel
| |
KEY: vti_navbuttonuplabel
| |
KEY: vti_siteusagetotalbandwidth
| |
KEY: vti_siteusagetotalvisits
| |
KEY: vti_usernames | |
Assign Document IDs | KEY: docid_enabled
|
Begin IDs with the following characters (Site Prefix) | KEY: docid_msft_hier_siteprefix
|
相關文章
- sharepoint 2013 網站集解鎖網站
- SharePoint 2013 workflows stop working (Failed on started.)AI
- js物件屬性JS物件
- python物件屬性管理(2):property管理屬性Python物件
- CAD屬性編輯操作——物件屬性教程物件
- Object物件的屬性Object物件
- GObject的物件屬性GoObject物件
- JavaScript學習筆記023-物件方法0包裝物件0靜態屬性JavaScript筆記物件
- 理解 JavaScript 物件的屬性JavaScript物件
- Python - 物件導向程式設計 - 公共屬性、保護屬性、私有屬性Python物件程式設計
- Sharepoint 2013搜尋服務配置總結(實戰)
- Granting and Managing Item Level Permission using SharePoint2013 Designer Workflow
- javax.validation包校驗巢狀屬性(List物件)的寫法Java巢狀物件
- JavaScript物件的資料屬性與訪問器屬性JavaScript物件
- Laravel 5.7 模型常用屬性Laravel模型
- JavaScript ----- 操作DOM物件的屬性JavaScript物件
- Python深入03 物件的屬性Python物件
- 陣列物件按物件某個屬性排序陣列物件排序
- css屬性與js中style物件的屬性對應表CSSJS物件
- Python物件導向基礎:設定物件屬性Python物件
- 深入理解物件的資料屬性與訪問器屬性物件
- 數字作為物件的屬性物件
- JavaScript刪除和清空物件屬性JavaScript物件
- JavaScript遍歷物件屬性順序JavaScript物件
- Scala的類、屬性、物件欄位物件
- Python深入分享之物件的屬性Python物件
- 物件屬性讀取(核心原始碼)物件原始碼
- PHP 物件導向 (二)類屬性PHP物件
- 移出Json物件的三級屬性JSON物件
- Unity遍歷物件serialized的屬性Unity物件Zed
- JavaScript物件屬性是有序的嗎?JavaScript物件
- 物件屬性值賦給變數物件變數
- Python __dict__屬性:檢視物件內部所有屬性名和屬性值組成的字典Python物件
- 瀏覽器中的JavaScript核心BOM(瀏覽器物件模型)重點掌握物件之Location物件的屬性與方法瀏覽器JavaScript物件模型
- 理解Python中的類物件、例項物件、屬性、方法Python物件
- 一些常用的模型屬性模型
- JavaScript內建物件屬性及方法大全JavaScript物件
- JavaScript訪問物件的屬性和方法JavaScript物件
- 檢視屬性+物件動畫元件ViewPropertyObjectAnimator物件動畫元件ViewObject