12 2013 档案
摘要:本文讲述SharePoint 2010/2013 使用Javascript来判断权限的三种方法的实现方式及其优缺点。1. 根据用户所在的SharePoint组(比如用户在Leader 组才可以使用审批按钮) a. 优点,简单明了,容易理解,要获得这个权限只有一个入口,就是将用户加入到SharePoint组 b. 缺点, 不能兼容AD group套SharePoint组的情况,只能将用户直接加入到SharePoint组的情况下起作用 c. 实现代码如下:[javascript] view plaincopyprint?functionIsCurrentUserMemberOfGroup(st..
阅读全文
摘要:As many of you know, event receivers are a great way to hook into various SharePoint events. These can apply to Feature events such as FeatureActivated, List events such as FieldAdded, and many others. The most common set of receivers used, however, are part of SPItemEventReceiver which let you wir.
阅读全文
摘要:最近项目中要用到Pages及SitePages目录中的一个可是目录时,不是发现没有Pages就是没SitePages;分析后才得知Pages目录需要开户SharePoint Server Publishing Feature方法: 1.到对应站点下面的Site Collection Features里面开启 SharePoint Server Publishing infrastructure; 2.到Manage Site Features里面开启SharePoint Server Publishing 这一个Feature;在Manage Site Features 里面开启ShareP.
阅读全文
摘要:1. 显示场中所有可用的网站集[plain] view plaincopyprint?Get-SPSiteGet-SPSite2. 显示某一Web应用程序下可用的网站集[plain] view plaincopyprint?Get-SPSite–WebApplication"SharePoint–80"Get-SPSite –WebApplication "SharePoint – 80"3. 显示某一内容数据库中可用的网站集[plain] view plaincopyprint?Get-SPSite–ContentDatabase"WSS_C
阅读全文
摘要:最近研发的项目中开发了很多的WebPart,每次部署这些WebPart到新环境中总是很麻烦,因为自己要新创建WebpartPage,同时还要把这些WebPart放到指定的WebPart页中去;为了方便的解决这个问题,项目中实现用Module元素来创建Page,同时给每一个Page指定WebPart;具体操作步骤如下:1.添加一个Module元素,删除里面自动生成的Sample.txt;2.在这个Module元素里面添加aspx的page页面,此页面为Webpart Page的页面; 我使用的一个两列的WebPartPage模块为:3.打开Element元素, 为里面的Module节点指定Ur.
阅读全文
摘要:Did you ever wish you had more control over how your content is indexed and presented as search results? In SharePoint 2013, you have the option to add a callout from the content processing component to your own web service so you can manipulate the content before it gets indexed. This makes it ...
阅读全文

浙公网安备 33010602011771号