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:
|
|
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 对象模型属性包的更多相关文章
- SharePoint 2013 CSOM creat post in NewsFeed Access Denied
现象 在用CSOM创建新闻源时候,报错:无访问权限 解决办法 value="true" 改为 value="false" <appSettings> ...
- 每日学习心得:SharePoint 2013 自定义列表项添加Callout菜单项、文档关注、SharePoint服务端对象模型查询
前言: 前一段时间一直都比较忙,没有什么时间进行总结,刚好节前项目上线,同时趁着放假可以好好的对之前遇到的一些问题进行总结.主要内容有使用SharePoint服务端对象模型进行查询.为SharePoi ...
- SharePoint 2013 开发——CSOM概要
博客地址:http://blog.csdn.net/FoxDave 本篇对客户端API做一个大致地了解. 看一下各个类别主要API之间的对应关系表. 假设我们对Server API已经有了足够地了 ...
- 每天的学习经验:SharePoint 2013 定义自己添加的产品清单。Callout菜单项、文档关注、SharePoint服务机端对象模型查询
前言: 前一段时间一直都比較忙.没有什么时间进行总结,刚好节前项目上线.同一时候趁着放假能够好好的对之前遇到的一些问题进行总结. 主要内容有使用SharePoint服务端对象模型进行查询.为Share ...
- SharePoint 2013 使用JavaScript对象模型配置智能提示
前言 默认在VS2012/2013中编写SharePoint JavaScript 客户端对象模型,都没有智能感知的功能,用起来非常麻烦:其实,我们可以手动配置一下,让JavaScript可以进行智能 ...
- SharePoint 2013 字段属性之JSLink 转载来源(http://www.cnblogs.com/jianyus/p/3544482.html)
在SharePoint 2013中,SPField新增加了一个属性是JSLink,使用客户端脚本修改字段前台展示,我们可以用很多方法修改这个脚本的引用,然后来修改脚本,下面,我们举一个简单的例子. 具 ...
- SharePoint 2013 字段属性之JSLink
在SharePoint 2013中,SPField新增加了一个属性是JSLink,使用客户端脚本修改字段前台展示,我们可以用很多方法修改这个脚本的引用,然后来修改脚本,下面,我们举一个简单的例子. 具 ...
- SharePoint 2013 实战碎嘴(ECMAScript客户端对象模型): 提示某个列表不存在
简单情景描述1:(在Sharepoint 2013 Solution 中) 在相应的.aspx页面引入 一下两个.js文件: <script type="text/javascript ...
- 《SharePoint 2013 应用开发实战》目录
博客地址:http://blog.csdn.net/FoxDave 第 1 章 1 ◄SharePoint概述► 1 1.1 SharePoint的发展历程 1 1.1.1 Sha ...
随机推荐
- 关于HTML5你必须知道的28个新特性,新技巧以及新技术
1. 新的Doctype 尽管使用<!DOCTYPE html>,即使浏览器不懂这句话也会按照标准模式去渲染 2. Figure元素 用<figure>和<figcapt ...
- centos 7 编译zabbix 3.2.2
已有LNMP环境. 1.安装zabbix需要的依赖包,红色部门的包官方yum源没有,需要自己下载 yum install net-snmp fping iksemel net-snmp-devel ...
- no route to host
防火墙没有关闭: systemctl stop firewalld
- 附加类型的实体失败,因为相同类型的其他实体已具有相同的主键值。在使用 "Attach" 方法或者将实体的状态设置为 "Unchanged" 或 "Modified" 时如果图形中的任何实体具有冲突键值
var list= DAL.LoadEntities(x => x.OrderCode == orderCode).AsNoTracking().ToList().FirstOrDefault( ...
- ATC空管系统的实时控制软件系统分析
什么是ATC空管系统? 空中交通管制的目的是对航空器的空中活动进行有效的管理,维护空中交通秩序,保障空中交通畅通,保证飞行安全和提高飞行效率,防止航空器相撞,防止机场及其附近空域的航空器同障碍物相撞. ...
- message from server: "Host 'XXX' is not allowed to connect to this MySQL server
Access denied for user 'root'@'XXXXX' (using password: YES) mysql命令不正确造成: grant all privileges on *. ...
- C#基础
.net/dotnet:一般指.NetFramework框架,一种平台,一种技术. c#(sharp):一种编程语言,可以开发基于.net平台的应用. Java:是一种技术,又是一门语言: .net应 ...
- 20145236 GDB调试汇编堆栈过程分析
GDB调试汇编堆栈过程分析 首先需要输入sudo apt-get install libc6-dev-i386安装一个库才能产生汇编代码,然后输入gcc - g example.c -o exampl ...
- Java—事件和多线程机制
一 事件 1.1 事件源 图形用户界面上每个可能产生事件的组件称为事件源. 1.2 事件监听者 Java系统中注册的用于接收特殊事件的类.不同的事件对应着不同的监听者,要想事件被监听者监听并处理,则 ...
- html快速入门(基础教程+资源推荐)
1.html究竟是什么? 从字面上理解,html是超文本标记语言hyper text mark-up language的首字母缩写,指的是一种通用web页面描述语言,是用来描述我们打开浏览器就能看到的 ...