上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: @part = 'select top 1 * from ntp.dbo.penholdwhere convert(varchar, request_date, 111) = ntp.dbo.fn_getpreweekday(''' + @ldate + ''')'sp_execute_sql('select @var = count(1) from openquery(linkserver, '... 阅读全文
posted @ 2011-11-29 21:16 队长 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 转自blogspot地址(天朝不让访问):http://blog-sharepoint.blogspot.com/2010/02/sharepoint-workflow-errors-descriptions.htmlThe following table lists some of the common errors that can occur in a Workflow developed ... 阅读全文
posted @ 2011-11-17 15:47 队长 阅读(742) 评论(0) 推荐(0) 编辑
摘要: v4.master (default for 2010)minimal.master (for Office 2010 Web Applications andSharePoint Server 2010 Search Center)default.master (for 2007 upgrade)nightandday.master (Available in SharePoint Server... 阅读全文
posted @ 2011-10-26 08:54 队长 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 关于在SharepointDesigner中设置CustomAction的备忘,没有啥逻辑性,只是一些知识点。下面是用SPD的一些限制SPD中只能针对某List设置Custom Action,无法实现一次性为多个List或某一类List批量设置。无法在Site Actions, SiteSetting等其他地方设置CustomAction。无法实现根据当前是否有Items处于选择状态或其他因素启用或禁用CustomAction。...虽然有很多缺点,但是不需要编码,还是有很多用武之地的。可以在以下5个地方添加Custom Action:1. List Item Menu (LIM)2. Dis 阅读全文
posted @ 2011-10-17 10:14 队长 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 转自http://blog.chinaunix.net/space.php?uid=16981447&do=blog&cuid=430716做了简单的格式整理,加入了一点点原创的东西。Oracle9i引入了MERGE命令,你能够在一个SQL语句中对一个表同时执行inserts和updates操作. MERGE命令从一个或多个数据源中选择行来updating或inserting到一个或多个表.在Or... 阅读全文
posted @ 2011-10-11 09:03 队长 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 加入这个MasterPage Content<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">页面标题</asp:Content>可以在里面加入一些Sharepoint内置的控件,这样能使标题动态化<SharePoint:ListProperty Property="Title" runat="serve... 阅读全文
posted @ 2011-09-29 09:34 队长 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 分享一个小技巧:在Sharepoint的新建和编辑Form中,我们可以写一个自定义的函数PreSaveAction,这个函数会在postback之前执行:如果该函数返回false, 则不会postback到服务器。通常我们会在里面对用户的输入进行验证。function PreSaveAction(){ //可以在这里面写验证逻辑 return false;}非常简单初级的小技巧,高手请略过。Published by Wiz 阅读全文
posted @ 2011-09-29 08:53 队长 阅读(343) 评论(1) 推荐(0) 编辑
摘要: SP.UI.Dialog.js (SP.UI.Dialog.debug.js)function showDialog() { var options = { url: 'http://sharepoint2010.microsoft.com', width: 700, title: 'Microsoft SP2010', allowMaximize: true, showClose: true, ... 阅读全文
posted @ 2011-09-22 09:15 队长 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 本篇博客是inside microsoftsharepoint 2010的读书笔记,针对我感兴趣的章节,争取多发一些笔记,作为对知识的整理。通过开发自定义字段可以实现自定义的验证逻辑和自定义的字段显示与编辑UI但是自定义字段也有一些缺点:1. 不能以sandbox方式部署2. 可能存在与office软件集成的问题(本人未测试)3. 在使用linq2sharepoint时可能也会有问题(本人未测试)VS2010中没有提供自定义字段的Project模板,也没有Project Item模板。下图是Inside Sharepoint 2010附带的样例代码关于这个project的结构,有几点值得说明: 阅读全文
posted @ 2011-09-21 21:43 队长 阅读(1092) 评论(1) 推荐(1) 编辑
摘要: http://msftplayground.com/Lists/Posts/Post.aspx?List=5878e505-f9a8-4295-9d5b-056fe05f8e56&ID=105&Web=b057dbe4-f419-42c3-9205-7443e3274182http://msdn.microsoft.com/en-us/library/ff798499.aspxhttp://www.wictorwilen.se/Post/Sandboxed-workflow-activities-in-SharePoint-2010.aspx 阅读全文
posted @ 2011-09-20 10:10 队长 阅读(180) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页