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 ...
随机推荐
- maven中运行hibernate5的一些注意事项
问题1:Could not bind factory to JNDI hibernate.cfg.xml中<sessionFactory> 标签中的name="foo" ...
- jq点击小图 弹出大图(更新版)
$(function(){ $(".fj1-consult").on("click",function(){ //设置弹框中图片的路径 $(".lay ...
- No package mysql-server available.
Centos 7 comes with MariaDB instead of MySQL. MariaDb is a open source equivalent to MySQL and can b ...
- chrome 跨域设置
右击chrome快捷方式,在启动指令后面添加--disable-web-security,然后保存.如下: "C:\Program Files (x86)\Google\Chrome\App ...
- Spring MVC 4.1.4 RESTFUL风格返回JSON数据406错误处理
Spring MVC 4.1.4 RESTFUL风格返回JSON数据406错误处理 今天在使用spring4.1.4,使用ResponseBody注解返回JSON格式的数据的时候遇到406错误. 解决 ...
- (转)px、em、rem的区别和使用
国内的设计师大都喜欢用px,而国外的网站大都喜欢用em和rem(国外的大部分网站能够调整的原因在于其使用了em或rem作为字体单位),那么三者有什么区别,又各自有什么优劣呢? 一.px特点 1. IE ...
- 查看Linux是32位还是64位
最直接简洁的办法: 在linux终端输入getconf LONG_BIT命令 如果是32位机器,则结果为32 [root@localhost ~]# getconf LONG_BIT 32 如果是64 ...
- jquery mobile在页面加载时添加加载中效果 document.ready 和window.onload执行顺序比较
想要添加这个效果,先来弄明白页面的加载和事件执行顺序,看这个简单例子: <html xmlns="http://www.w3.org/1999/xhtml"> < ...
- CentOS下 MySQL5.7 详细的部署安装流程
MySQL5.7.14安装过程: 下载5.7版本:wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.14-linux-glibc2 ...
- ROS的单线程Spinning和多线程Spinning
单线程Spinning ros::spin()是最简单的单线程自旋, 它会一直调用直到结束 用法: ros::spin(); 另一个单线程spinning是ros::spinOnce(),它定期调用 ...