BruceLee
DocumentDiscussion

导航

 

2008年9月17日

摘要: E文环境提示:Error:System.ArgumentNullException: Value cannot be null.Parameter name: serverContextat Microsoft.Office.Server.SiteContext..ctor(ServerCo ntext serverContext)at Microsoft.Office.Server.SiteCo... 阅读全文
posted @ 2008-09-17 22:42 Bruce Lee 阅读(2591) 评论(1) 推荐(0) 编辑
 
摘要: 此网页的安全性验证无效并且可能损坏。请单击 Web 浏览器中的“后退”,刷新网页,再重试操作。 打断权限后AllowUnsafeUpdates被恢复为false,所以打断权限后要在true一次。 另外打断权限代码spWeb.RoleDefinitions.BreakInheritance(false, true); 不能用false,要手工清除权限,不能用false来自动清除权限,否则出错... 阅读全文
posted @ 2008-09-17 22:41 Bruce Lee 阅读(431) 评论(1) 推荐(0) 编辑
 

2008年9月16日

摘要: /// <summary> /// Author:(Bruce Lee) /// Created Time:2008-9-10 /// Description:manager my link. /// Mender: /// Modify Time: /// Modify Description: /// </summary> /// <param name="str... 阅读全文
posted @ 2008-09-16 20:49 Bruce Lee 阅读(358) 评论(1) 推荐(0) 编辑
 
摘要: #region add a attachment into listitem. /// /// Author:李曦光(Bruce Lee) /// Created Time:2008-9-16 /// Description:add a attachment into listitem. /// Mender:... 阅读全文
posted @ 2008-09-16 20:48 Bruce Lee 阅读(938) 评论(1) 推荐(0) 编辑
 

2008年9月11日

摘要: core.zh-CN.resx文件 在节 人员和组 SiteSettings.xml文件 在节 定制隐藏菜单的Feature 对应关系 HideCustomAction HideActionId = "PeopleAndGroups" Cust... 阅读全文
posted @ 2008-09-11 21:04 Bruce Lee 阅读(596) 评论(0) 推荐(0) 编辑
 
摘要: /// /// Author:李曦光(Bruce Lee) /// Created Time:2008-9-16 /// Description:get personal web site. /// Mender: /// Modify Time: /// Modify Description: ... 阅读全文
posted @ 2008-09-11 20:52 Bruce Lee 阅读(449) 评论(0) 推荐(0) 编辑
 

2008年9月9日

摘要: 获取或设置在使用SPQuery查询时的Query使用的内部XML的描述,这个描述表示查询显示的字段。 可以声明多个FieldRef标签,使用Name和ID属性来标识字段。 缺省情况下如果查询的列表中没有包含FieldRef指定的字段,那么将没有返回的结果。为了如果在查询的List中没有指定的字段,并能返回结果,可以设置FieldRef的Nullable属性为True,这将不支持Lookup和Per... 阅读全文
posted @ 2008-09-09 21:42 Bruce Lee 阅读(515) 评论(2) 推荐(0) 编辑
 

2008年9月5日

摘要: 命令行 stsadm -o export -url http://Server:port/BBB/BBB1 -includeusersecurity -filename d:\test.cmp 把BBB站点下的BBB1子站点导出stsadm -o import -url http://Server:port/IT/BBB1 -includeusersecurity -filename d:\t... 阅读全文
posted @ 2008-09-05 17:54 Bruce Lee 阅读(569) 评论(4) 推荐(0) 编辑
 

2008年9月4日

摘要: 在使用SPSiteDataQuery和SPQuery查询时,当用Query构造查询语句时,使用Where查询不数据。 语句: "11" 错误出在,因为ID是Counter类型,使用Text肯定是查询不出数据,MOSS查询是不会自动做类型转换的。 正确: "11" 总结: 使用SPSiteDataQuery和SPQuery查询时,字段的类型一定要写正确。否则出不来数据都不知道是语句写错了,还是什么原... 阅读全文
posted @ 2008-09-04 15:27 Bruce Lee 阅读(517) 评论(0) 推荐(0) 编辑
 
摘要: using System; using System.Collections.Generic; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; using Microsoft.Office.Server; using Microsoft.Office.Server.A... 阅读全文
posted @ 2008-09-04 14:48 Bruce Lee 阅读(1400) 评论(0) 推荐(0) 编辑