江湖路
专注AJAX和Moss
摘要: 一劳永逸,删除search services application,停止Windows服务:SharePoint Search Host Controller和SharePoint Server Search 15通过限制各种组件内存来提升性能 限制SQL Server的内存使用量降低Search的优先级:Set-SPEnterpriseSearchService -PerformanceLevel Reduced限制搜索的内存使用量:编辑C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner. 阅读全文
posted @ 2013-10-15 09:32 wengnet 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 微软的网站找东西太麻烦了,在这记录一下。从 SharePoint 2010 更改为 SharePoint 2013http://technet.microsoft.com/zh-cn/library/ff607742.aspx 阅读全文
posted @ 2013-08-07 11:35 wengnet 阅读(591) 评论(0) 推荐(0) 编辑
摘要: Get-SPWebTemplate | select Name, Title 阅读全文
posted @ 2013-08-07 11:12 wengnet 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-08-05 21:23 wengnet 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(245) 评论(0) 推荐(0) 编辑
摘要: public static DocumentSet GetDocumentSetById(this SPList list, int ID){ return DocumentSet.GetDocumentSet(list.GetItemById(ID).Folder);}public static bool IsDocumentSet(this SPListItem item){ bool documentSetItem = false; DocumentSet documentSet = null; if (null != item && item.IsFolder()) { 阅读全文
posted @ 2013-03-29 16:51 wengnet 阅读(835) 评论(1) 推荐(1) 编辑
摘要: using (SPSite site = new SPSite("http://sharepoint2010")) { using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists.TryGetList("Docs"); SPContentType ct = web.ContentTypes[new SPContentTypeId("0x... 阅读全文
posted @ 2013-02-27 13:58 wengnet 阅读(441) 评论(0) 推荐(1) 编辑
摘要: 使用SP内置的上传控件,代码如下: <script type="text/javascript"> function DocumentUpload() { document.getElementById("idUploadCtl").MultipleUpload(); } </script> <object id="idUploadCtl" name="idUploadCtl" classid="CLSID:07B06095-5687-4d13-9E32-12B4259C98 阅读全文
posted @ 2013-01-06 13:40 wengnet 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 使用如下命令:Dism /online /enable-feature /featurename:NetFX3 /featurename:NetFx3ServerFeatures /Source:D:\sources\sxs修改D:\sources\sxs中的D:为你的安装盘盘符。 阅读全文
posted @ 2012-11-07 17:58 wengnet 阅读(3030) 评论(0) 推荐(0) 编辑
摘要: 直接看代码:jQuery(document).ready(function($){ var objects = document.getElementsByTagName("ie:menuitem"); for (var i = 0; i < objects.length; i++) { itm = objects[i]; if ($('#' + itm.id).attr("text") == "Sign in as Different User") { $('#' + itm.id).remov 阅读全文
posted @ 2012-09-28 12:44 wengnet 阅读(212) 评论(0) 推荐(0) 编辑