随笔分类 -  sharepoint

摘要:做项目遇到需要查看列表库的内部名称,因为用的是图片库,所以就列出所有对应关系,以备查看方便: 阅读全文
posted @ 2017-06-26 20:36 lishidefengchen 编辑
摘要:要查看列表字段的名称(Title)和对应的内部名称(InternalName),可以参考官方文档: 参考:https://msdn.microsoft.com/zh-cn/library/office/jj163201.aspx 阅读全文
posted @ 2017-06-26 20:23 lishidefengchen 编辑
摘要:public AjaxResult LoadDocInfo(HttpContext httpContext) { var result = new ArrayList(); try { var orgId = httpContext.Request["orgId"]; ... 阅读全文
posted @ 2017-02-23 20:16 lishidefengchen 编辑
摘要:直接引用16目录(/_layouts/16/)会导致页面找不到文件,必须将16目录改为15目录(/_layouts/15/),估计是内部机制还没有更新,这个坑不知道要多久才会填上=,= 阅读全文
posted @ 2017-02-22 17:18 lishidefengchen 编辑
摘要:/// /// 判断当前登录人是否在sharepoint组中 /// /// /// /// public static bool IsCurrentUserInGroup(SPUser currentUser, string groupName) { ... 阅读全文
posted @ 2016-12-07 14:01 lishidefengchen 编辑
摘要:http://www.cnblogs.com/gzh4455/archive/2012/03/26/2417854.html 阅读全文
posted @ 2016-11-29 16:25 lishidefengchen 编辑
摘要://错误的写法 public void ProcessRequest(HttpContext context) { SPSecurity.RunWithElevatedPrivileges(delegate { // 'SPContext.Current' null reference error using (var site = new SPSi... 阅读全文
posted @ 2016-05-11 10:18 lishidefengchen 编辑
摘要:原文地址:http://www.cnblogs.com/renzh/archive/2013/03/05/2944309.html#3407239 一、首先设置IIS中的Web.config文件 找到对应的IIS应用程序目录,如:C:\inetpub\wwwroot\wss\VirtualDirec 阅读全文
posted @ 2016-04-29 15:44 lishidefengchen 编辑
摘要:using (Stream file = spFile.OpenBinaryStream()) { //其余代码 } 阅读全文
posted @ 2016-04-06 11:34 lishidefengchen 编辑
摘要:SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(SPContext.Current.Site.ID)) { ... 阅读全文
posted @ 2016-04-06 10:05 lishidefengchen 编辑
摘要:SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(SPContext.Current.Site.ID)) { using ... 阅读全文
posted @ 2016-04-06 10:01 lishidefengchen 编辑
摘要:1、ctrl+c,alt+c,shift+ctrl+c: ========== Copying to SharePoint Root =========={ProjectRoot}\pkg\Debug\iWS.Assets\ControlTemplates\iWS.Assets\AddAssetsM 阅读全文
posted @ 2016-03-08 10:46 lishidefengchen 编辑
摘要:转载:http://www.cnblogs.com/ChunLiangZhang/archive/2012/07/18/2597335.html(作者:ChunLiang) 现在可以用SharePoint PowerShell去部署自己的WSP。 SharePoint Management Shel 阅读全文
posted @ 2016-03-08 10:24 lishidefengchen 编辑
摘要:关闭搜索服务 (服务器上的服务,要禁用的服务) (管理工具 – 服务) 阅读全文
posted @ 2016-03-07 09:57 lishidefengchen 编辑
摘要:转载: http://www.cnblogs.com/erucy/archive/2012/08/25/2655600.html 电脑正在以无比慢的速度从微软网站上安装Office Component for Visual Studio 2012,今晚的某个工作看来是干不成了,索性写篇blog。 S 阅读全文
posted @ 2016-03-03 16:37 lishidefengchen 编辑
摘要:作者:huangtao2011 引用:http://blog.csdn.net/huangtao2011/article/details/27528101 今天使用SharePoint 2013创建页面的时候,突然提示“此产品的试用期已结束 ”。网上解决办法: “将IIS的‘应用程序池’下网站集对应 阅读全文
posted @ 2016-02-29 11:25 lishidefengchen 编辑
摘要:问题在sharepoint central administration中通过Configuration Wizards来创建一个web application,出现如下错误:The password supplied with the username aaa was not correct. V 阅读全文
posted @ 2016-02-29 10:30 lishidefengchen 编辑

点击右上角即可分享
微信分享提示