[置顶] SharePoint 2010/SharePoint 2013 Custom Action: 基于Site Collection 滚动文字的通知.

摘要: 应用场景: 有时候我们的站点需要在每个页面实现滚动文字的通知,怎么在不修改Master Page的情况下实现这个功能?我们可以使用Javascript 和 Custom Action 来实现。 创建一个Custom Action。主要使用到 Location = 'ScriptLink' 属性, 该 阅读全文

posted @ 2016-10-02 21:54 张大明 阅读(279) 评论(0) 推荐(0) 编辑

2016年9月14日

新的开始

摘要: 各位fans, 我又开始活动啦,婚也结啦,娃娃(boy)也生啦! 建设银行啊,得好好奋斗,重新出发。后面准备写一个SharePoint 2010 开发系列, 包括SharePoint Project Infostructure,SharePoint Designer Workflow 开发, Cus 阅读全文

posted @ 2016-09-14 22:05 张大明 阅读(76) 评论(0) 推荐(0) 编辑

2012年9月19日

Add ContentType to pages library

摘要: public override void FeatureActivated(SPFeatureReceiverProperties properties) { List<string> listContentType = new List<string>(); listContentType.Add("CT_TestContentType1"); listContentType.Add("CT_TestContentType2"); SPSite currentSite = (SPSite)p... 阅读全文

posted @ 2012-09-19 22:35 张大明 阅读(168) 评论(0) 推荐(0) 编辑

2012年8月13日

About Sandboxed Solution Deployment

摘要: Exception from HRESULT:0x81070966 阅读全文

posted @ 2012-08-13 22:39 张大明 阅读(189) 评论(0) 推荐(0) 编辑

2012年2月19日

SharePoint 201 ListViewByQuery Control 应用

摘要: 学习MSDN视频教程,没有源代码,自己按照视频上的demo测试的地址:http://msdn.microsoft.com/zh-cn/sharepoint/ee513147.aspx [ToolboxItemAttribute(false)] public class Bonnevlie_StandardWP : WebPart { ListViewByQuery MyCustomView; protected override void CreateChildControls() { SPWeb thisWeb... 阅读全文

posted @ 2012-02-19 21:02 张大明 阅读(256) 评论(0) 推荐(0) 编辑

2011年11月18日

SharePoint 2010 Provisioning A New Farm with PowerShell

摘要: Resource URL:http://blogs.msdn.com/b/ekraus/archive/2009/11/06/sharepoint-2010-provisioning-a-new-farm-with-powershell.aspx 阅读全文

posted @ 2011-11-18 10:46 张大明 阅读(123) 评论(0) 推荐(0) 编辑

2011年9月19日

使用stsadm.exe命令行删除,创建站点

摘要: 在SharePoint中,如何做到创建站点集后,在第一次进入站点的时候选择站点模板?答案是用命令行进行创建,不需要指定站点模板。备份站点:stsadm.exe –o backup –url <site url> -filename <storage path.dat> -nositelock删除站点:stsadm.exe –o deletesite –url <site url>创建站点:stsadm.exe -o createsite -url <host auth/pub url> -owneremail <someone@xyz.co 阅读全文

posted @ 2011-09-19 17:29 张大明 阅读(328) 评论(0) 推荐(0) 编辑

2011年9月8日

SharePoint Custom Action Identifiers

摘要: IDGroupLocationSequenceRegistrationTypeRegistrationIDTrustedPersLinksUAPOffice.Server.ServiceProvider.Administration15SspSearchAnalyticsSearchOffice.Server.ServiceProvider.Administration30SearchSettingsSearchOffice.Server.ServiceProvider.Administration10ManagePubLinksUAPOffice.Server.ServiceProvider 阅读全文

posted @ 2011-09-08 11:41 张大明 阅读(340) 评论(0) 推荐(0) 编辑

2011年9月1日

修改IIS设置延长DEBUG时间

摘要: 修改IIS设置延长DEBUG时间http://www.cnblogs.com/lambertqin/archive/2011/08/30/2160018.html 阅读全文

posted @ 2011-09-01 16:04 张大明 阅读(132) 评论(0) 推荐(0) 编辑

2011年8月15日

SharePoint 2010 如何取得ListItem的Attachements

摘要: 最近一个项目用到读取SharePoint ListItem的attachments ,在网上找了很多资料终于知道了如何取得一个item的attachments,记录之,已被后用。string sourceInitialName = sourceList.DefaultViewUrl.Substring(7,index-7);//取得列表名称SPListItem sourceItem = sourceList.GetItemById(SourceItemID);//取得ItemSPFolder sourceListAttFolder = sourceItem.Web.Folders[" 阅读全文

posted @ 2011-08-15 11:28 张大明 阅读(332) 评论(0) 推荐(0) 编辑

导航