开发SharePoint 自定义WebService 的小工具
摘要:是一个开源的项目,地址:http://www.codeproject.com/Articles/10728/WSS-Web-Service-DISCO-and-WSDL-Generator-Helper这个工具的主要作用是把wsdl文件和disco文件转换为aspx文件,具体使用详见这篇文章:htt...
阅读全文
posted @
2014-10-25 14:51
wengnet
阅读(235)
推荐(0)
制作X509证书
摘要:makecert -r -pe -n "CN=XXX" -b 01/01/2005 -e 01/01/2020 -sky exchange -ss my
阅读全文
posted @
2013-06-19 17:11
wengnet
阅读(258)
推荐(0)
分享一些ShrePoint的代码(二)
摘要:上传文件到SharePoint 1 if (File1.PostedFile == null) 2 return; 3 4 string destUrl = TextBox1.Text; 5 6 SPWeb site = new SPSite(destUrl).OpenWeb(); 7 8 Stream fStream = File1.PostedFile.InputStream; 9 byte[] contents = new byte[fStream.Length];10 11 fStream.Read(contents, 0, (int)fStream.Length);12...
阅读全文
posted @
2012-07-27 14:11
wengnet
阅读(737)
推荐(0)
分享一些ShrePoint的代码(一)
摘要:遍历所有网站和列表 1 SPSite oSiteCollection = SPContext.Current.Site; 2 SPWebCollection collWebsite = oSiteCollection.AllWebs; 3 4 for (int i = 0; i < collWebsite.Count; i++) 5 { 6 using (SPWeb oWebsite = collWebsite[i]) 7 { 8 SPListCollection collList = oWebsite.Lists; 9 10 for (int...
阅读全文
posted @
2012-07-26 15:35
wengnet
阅读(674)
推荐(1)
添加SharePoint命令集
摘要:在PowerShell中注册SharePoint程序集Add-PSSnapin Microsoft.SharePoint.PowerShell获取所有在PowerShell中注册的程序集:Get-PSSnapin –Registered
阅读全文
posted @
2011-03-07 17:14
wengnet
阅读(419)
推荐(0)
SharePoint2010的Client Object Mode 之站点操作
摘要:[代码]注意:其中“STS#1”为空白站点模板,“STS#0”为团队站点模板
阅读全文
posted @
2011-01-21 14:20
wengnet
阅读(372)
推荐(0)
在SharePoint2010启用BCS的时候,出现“The Business Data Connectivity Metadata Store is currently unavailable”错误
摘要:在开发环境中,SharePoint2010和数据库是分开装的,当使用SharePoint Designer创建外部内容类型的时候,出现了此错误"The Business Data Connectivity Metadata Store is currently unavailable"; 搜遍互联网,找到如下答案: WCF Fix for SharePoint 2010 Windows Serve...
阅读全文
posted @
2010-07-21 16:27
wengnet
阅读(606)
推荐(0)
WebPart开发中的注册JavaScript事件
摘要:先看代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xh...
阅读全文
posted @
2009-12-04 10:27
wengnet
阅读(1473)
推荐(1)
SharePoint2010安装体验(二)
摘要:接上回,开始安装SharePoint2010,第一步当然是输入密钥了:接受许可协议:选择安装类型:我们选择服务器场安装:选择了完整安装,然后开始了漫长的安装过程:安装完成,开始配置了:配置向导第一步,和SharePoint2007差不多:配置第二步,我们选择创建新的服务器场:输入相关信息:和SharePoint2007不同,多了一个服务器的安全密码:设定端口号:确认一下相关信息:又是一个漫长的配置...
阅读全文
posted @
2009-11-30 09:48
wengnet
阅读(11015)
推荐(1)
SharePoint2010安装体验(一)
摘要:首先准备一台安装完系统和SQLServer2008的机器,操作系统要求Windows Server 2008 SP2 ,SQLServer2008要求SP1,并将系统和SQL的相应补丁打全;准备好机器后开始安装。首先安装系统必备软件,如果机器可以连接互联网,将会自动下载这些软件,不能连接互联网就只能自己手工下载了,具体需要下载的软件,请参考如下连接:http://blogs.msdn.com/ji...
阅读全文
posted @
2009-11-23 17:06
wengnet
阅读(9150)
推荐(1)
SharePoint和Reporting Services整合 样式问题
摘要:这几天忙着给一个项目做演示准备,其中需要做SharePoint和Reporting Services整合,这里用的是SQL SERVER2005的外接程序做的整合,配置好之后发现,报表查看器的样式折行列,如下:真不知道MS是怎么做的这个东西,还是自己DIY一下吧,改好的效果如下:需要修改的样式表路径为:C:\Program Files\Common Files\Microsoft Shared\w...
阅读全文
posted @
2009-11-08 18:04
wengnet
阅读(642)
推荐(0)
SharePoint对象模型性能
摘要:一篇关于SharePoint性能方面的文章,转给大家.http://www.infoq.com/cn/articles/SharePoint-Andreas-Grabner
阅读全文
posted @
2009-06-26 09:59
wengnet
阅读(203)
推荐(0)
ASP.NET页面事件:顺序与回传详解
摘要:看到一篇讲ASP>NET页面生命周期的,讲的不错,转一下。地址:http://webservices.ctocio.com.cn/wsare/462/8083462.shtml来源:IT专家网
阅读全文
posted @
2009-04-23 14:37
wengnet
阅读(284)
推荐(0)
AD操作-查询
摘要:AD查询的操作:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--DirectoryEntryRoot=newDirectoryEntry(ADPath,UserName,Password,AuthenticationTypes.Secure);...
阅读全文
posted @
2009-02-11 16:01
wengnet
阅读(618)
推荐(0)
Moss中的控件—PeoplePicker
摘要:在页面上面添加如下标记:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<SharePoint:PeopleEditorID="pickerPrincipal"AllowEmpty="false"ValidatorEnabled="tru...
阅读全文
posted @
2009-02-11 09:42
wengnet
阅读(289)
推荐(0)
Moss中的权限操作
摘要:创建组:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1SPWebsite=SPContext.Current.Web;2SPUsercurrentUser=site.CurrentUser;3//createnewgroup4site.Si...
阅读全文
posted @
2009-02-09 13:37
wengnet
阅读(380)
推荐(0)
Moss和非Moss系统的整合-登录问题
摘要:刚做的一个项目,客户要求从一个采用Form认证的系统登录Moss,但是不能让用户再输入用户名和密码;现在客户的环境是这样的存在一个Form认证的系统,Moss是新安装在一个域里面的,但是Form认证的系统没有在域里面,所以存在一个两个系统之间用户同步的问题?这个问题好解决,也不是我们今天的主题,问题是如何做到两个系统的单一登录? 以前做的只是使用Moss的单一登录,用Moss去登录其他的系统,现在...
阅读全文
posted @
2008-10-23 09:59
wengnet
阅读(895)
推荐(0)
Moss母版页制作详解(一)
摘要:前几天,做了一个主要做样式的Moss网站,亲身经历了一次Moss母版页的制作过程,现在空闲了,总结一下,Moss母版页的制作过程。以前只注重Moss后端程序的开发,没有注意过Moss样式的开发,经过这一次才明白,Moss的母版页也很复杂呀!(呵呵,至少我是这么认为)。下面是Moss母版页的所有占位符:1、<asp:ContentPlaceHolderID="PlaceHolderGlobal...
阅读全文
posted @
2008-10-22 14:59
wengnet
阅读(961)
推荐(0)