随笔分类 - SharePoint
SharePoint,MOSS
摘要:Getting calendar items using Exchange Web ServicesI am no expert at exchange, let alone Exchange Web Services (EWS), but I recently had to use it to get at calendar information for a project. Let me tell you that the documentation for EWS sucks and the API is not very intuitive. That said, I was abl
阅读全文
摘要:SharePoint定时器 (SPJobDefinition) 转需要写一个自定义的sharepoint timer job, 目的是要定时到Site Collection Images这个List里检查图片的过期日期,如果即将过期的话,需要发送email到相关的人员。GOOGLE了一下,发现资料很少。不过幸运的是我发现了 Andrew Connell的博客,上面有一个很详细的示例代码。http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx代码的基本思路是:我们的自定义job类需要从SP
阅读全文
摘要:UPDATE: In the comments I’ve seen some people saying that this doesn’t work for them. One thing that I discovered recently is that, in order for this to work, the URL specified in your schema.xml file MUST MATCH the List attribute on all your Field references in field.xml and schema.xml. If these do
阅读全文
摘要:Technologies SharePoint 2010, SharePoint Server 2010, SharePoint Foundation 2010, SharePoint Designer 2010 Topics site definitions Last Updated 8/4/2011License Apache License, Version 2.0View this sample online IntroductionLearn how to import a Microsoft SharePoint 2010 site definition using Microso
阅读全文
摘要:Base TypesThese Base Types come from the SPBaseType enumeration. Base TypeIDCustom List0Document Library1Not used2Obsolete. Use 0 for discussion boards.3Surveys4Issues List5List DefinitionsThese List Definitions come from the SPListTemplateType enumeration. Enumeration NameDescriptionIDInvalidTyp...
阅读全文
摘要:Issue: Server Error '/' Application Object reference not set to an instance of an object Description: An unhandled exception was generated during the execution of the current web request. please review the stack trace for more information about the error and where it orginated in the code. E
阅读全文
摘要:在Sharepoint中,时常出现如下错误,可以使用下面的命令行来获取相关错误信息get-splogevent | ?{$_.Correlation -eq "<GUID>"} | select Area, Category, Level, EventID, Message | Format-List
阅读全文
摘要:var ews = new ExchangeServiceBinding { Credentials = new NetworkCredential("user", "pass"), Url = "https://servername/ews/exchange.asmx", RequestServerVersionValue = new RequestServerVersion { Version = ExchangeVersionType.Exchange2007}};var startDate = new DateTime(201
阅读全文
摘要:ProblemDo users complain about SharePoint performance? Prior to SharePoint 2010, tracking down performance bottlenecks might involve attaching a debugger to code and enabling a trace from the SQL Server Profiler. Now, with SharePoint 2010, you can use a cool new feature called Developer Dashboard.So
阅读全文
摘要:如果直接取列表项的值,person or group 类型字段会是 userid;#value 的样式,所以对此类型字段需转换成 spuser 处理SPUser test = GetSPUser(oItem, assocList.Fields.GetField("AssociateName"));if (user.Sid.Equals(test.Sid)){...}private SPUser GetSPUser(SPListItem item, SPField field){string currentValue = item[field.Title].ToString(
阅读全文
摘要:First, in a feature receiver, I swapped the Event content type with the Schedule content type to take advantage of the Attendees field (and the cool Free/Busy field!):SPList list = lists["Calendar"];SPContentType newContentType = list.ContentTypes.Add(list.ParentWeb.ContentTypes[SPBuiltInC
阅读全文
摘要:会议工作区是一个用来收集一次或多次会议的所有信息和资料的网站。如果会议资料(例如,议程、相关文档、目标和任务)经常是分散的,会议工作区网站可以帮助您将这些资料全部保存在一个地方。本文内容如何使用会议工作区网站?在何处创建会议工作区网站?选择会议工作区模板创建事件时创建或链接到会议工作区网站在没有创建事件的情况下创建会议工作区如何使用会议工作区网站?不管您是管理一个经常要举行会议、时间长达一年的项目,还是计划一个小事件,会议工作区网站都是一个会议与会者可以前往寻找最新会议信息的地方。 会议说明 “页面”选项卡 自定义会议工作区网站的菜单 “与会者”列表 “文档库”以下是一些使用会议工作区网站的方
阅读全文
摘要:SharePoint站点权限与WebPart权限是断开的,即当为WebPart授权的时候也需要为页面授权。
阅读全文
摘要:Use the following command in SP PowerShell:$w = get-spwebapplication http://siteURL$w.HttpThrottleSettings$w.update()
阅读全文
摘要:Here are some links:http://msdn.microsoft.com/en-us/library/ms468582.aspxhttp://msdn.microsoft.com/zh-cn/library/ms479269.aspxhttp://msdn.microsoft.com/zh-cn/library/ee539074.aspxhttp://msdn.microsoft.com/zh-cn/library/ee539079.aspxhttp://msdn.microsoft.com/zh-cn/library/ee536690
阅读全文

浙公网安备 33010602011771号