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 開發——CSOM概要
- Uploading Files in SharePoint 2013 using CSOM and RESTREST
- SharePoint 2013 開發——APP安全模型APP模型
- js物件屬性JS物件
- javascript原型物件的屬性不能夠覆蓋物件自有屬性JavaScript原型物件
- SharePoint SC "Audit Settings"功能與CSOM的對應
- SharePoint Site "Language Settings"功能與CSOM的對應
- SharePoint Site "Regional Settings"功能與CSOM的對應
- GObject的物件屬性GoObject物件
- Object物件的屬性Object物件
- DataView物件buffer屬性View物件
- 修改物件私有屬性物件
- CAD屬性編輯操作——物件屬性教程物件
- python物件屬性管理(2):property管理屬性Python物件
- SharePoint 2013 開發——獲取使用者配置檔案屬性內容(User Profile)
- 理解 JavaScript 物件的屬性JavaScript物件
- XMLHttpRequest物件的status屬性XMLHTTP物件
- XMLHttpRequest物件的responseXML屬性XMLHTTP物件
- Laravel 5.7 模型常用屬性Laravel模型
- SharePoint\O365 CSOM操作"請求訪問設定"功能
- javascript基礎(物件,物件屬性,屬性基本和引用資料型別,字面量建立物件,垃圾回收,屬性的列舉)(十三)JavaScript物件資料型別
- Python - 物件導向程式設計 - 公共屬性、保護屬性、私有屬性Python物件程式設計
- JavaScript物件的資料屬性與訪問器屬性JavaScript物件
- JavaScript ----- 操作DOM物件的屬性JavaScript物件
- JavaScript遍歷物件的屬性JavaScript物件
- 連結a物件的pathname屬性物件
- jquery 事件物件屬性小結jQuery事件物件
- javax.validation包校驗巢狀屬性(List物件)的寫法Java巢狀物件
- JavaScript學習筆記023-物件方法0包裝物件0靜態屬性JavaScript筆記物件
- 重新認識javascript物件(一)——物件及其屬性JavaScript物件
- 陣列物件按物件某個屬性排序陣列物件排序
- 波哥學JAVA,定義類 宣告屬性 建立物件 例項化物件 物件呼叫屬性或者方法Java物件
- js的屬性物件的specified屬性用法簡單介紹JS物件
- javascript獲取物件直接量中的屬性和屬性值JavaScript物件
- css屬性與js中style物件的屬性對應表CSSJS物件
- SharePoint開發——利用CSOM逐級獲取O365中SharePoint網站的List內容網站
- SharePoint 2013 開發——SharePoint Designer 2013工作流
- 深入理解物件的資料屬性與訪問器屬性物件