自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(20)
  • 收藏
  • 关注

转载 Create and publish high-trust add-in

Referencehttps://dev.office.com/sharepoint/docs/sp-add-ins/create-high-trust-sharepoint-add-inshttps://dev.office.com/sharepoint/docs/sp-add-ins/package-and-publish-high-trust-sharepoint-add-...

2017-06-22 17:10:00 171

转载 High-trust provider-host add-in for SharePoint 2013 on-premise

Referencehttps://dev.office.com/sharepoint/docs/sp-add-ins/create-high-trust-sharepoint-add-inshttps://dev.office.com/sharepoint/docs/sp-add-ins/package-and-publish-high-trust-sharepoint-add...

2017-06-22 16:36:00 206

转载 [SharePoint 2013] Subscribe report within SharePoint mode

1 param([string]$path, [string]$fileName, [string]$storage) 2 3 $description = "Save in $storage as $fileName." 4 5 $matchData31 = '<?xml version="1.0" encoding="utf-16" standalon...

2017-01-06 14:02:00 108

转载 [SharePoint 2013] Automatic deployment script

Implement automatic deployment through windows task.Add-PsSnapin Microsoft.SharePoint.PowerShell$today = Get-Date$targetDir = $today.ToString("yyyyMMdd")$executeDir = "folder path"...

2016-04-27 10:45:00 79

转载 [SharePoint 2013] Create event receiver for external list

Main list for creating event receiver for external listSubscribe storage, it could be data table in data base or even XML file.https://msdn.microsoft.com/EN-US/library/office/...

2016-04-27 10:40:00 86

转载 [SharePoint 2013] Set value for people editor with JSOM

function PeoplePicker() { this.context = null; this.web = null; this.currentUser = null; this.parentTagId = null this.SetParentTagId = function (id) { this.p...

2014-09-12 11:28:00 85

转载 [SharePoint 2010] Modify lookup mapping with PowerShell

SharePoint支持将列表保存成列表模板,但当列表包含Lookup字段时,通过模板创建的列表会丢失Lookup字段的信息。通过PowerShell,可以修改Lookup字段的xml内容。 1 Function Fix-LookupColumn ($webURL, $listName, $columnName, $lookupListName) 2 { 3 ...

2014-02-25 10:27:00 87

转载 [SharePoint 2010] Copy list item with version history and attachment

1 private void MoveItem(SPListItem sourceItem, SPListItem destinationItem) 2 { 3 if (sourceItem == null || destinationItem == null) return; 4 5 ...

2014-02-21 11:19:00 88

转载 [SharePoint 2010] 自定义字段类型开发(二)

在SharePoint 2010中实现View Action Button效果。http://www.sharepointblogs.be/blogs/vandest/archive/2008/06/20/view-action-button.aspx1. 创建自定义字段类ViewActionButton 继承自 SPTextField public class...

2013-11-25 15:01:00 95

转载 [SharePoint 2007/2010]Query SharePoint Calendar Event

首先要搞清楚日历事件的各种类型,参考文章:http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?PageType=4&ListId={72C1C85B-1D2D-4A4A-90DE-CA74A7808184}&pID=761TypeDescriptionfRecurrencefAl...

2013-07-11 14:02:00 78

转载 [K2 Blackpearl] Open WorklistItem Errors

There are few different errors that can occur when opening a worklist item. The key to determining the cause of these errors, and ultimately resolving them, is to understand what each error mea...

2012-10-31 16:37:00 273

转载 [K2 Blackpearl] 会签功能

需求:在流程某个节点由用户手动选择参与会签的人员。实现:之前流程中的会签功能只是一种假的会签,实际上是维护一个Process的DataField。这种方式下所有参与会签的人是串行的,其中一个人的审批时间会明显影响整个节点的审批时间。下面是我在查看K2流程节点代码后,想到的一个方法。查看Activity代码查看DestinationRule代码检查Destinati...

2012-10-17 17:14:00 196

转载 [K2 Blackpearl] 部署SmartObject Service

编写SmartObject Service:传送门现在已经编写好了SmartObject Service,接下来需要进行部署,在K2 Blackpearl Server中注册该service。基本步骤如下:编译SmartObject Service代码,生成DLL在K2 Server中注册SmartObject Service创建SmartObject Service...

2012-10-16 19:53:00 223

转载 [K2 Blackpearl] 编写SmartObject Service

SmartObject Service是一个将外部数据导入到SmartObjects的管道,它重写了几个K2 Blackpearl要求的方法。下面记录我自己编写的一个从ActivityDirectory中读取用户信息的SmartObject Service。创建SmartObject Service 类添加引用SourceCode.SmartObjects.Services....

2012-10-16 18:00:00 127

转载 [K2 Blackpearl] 流程相关的操作

创建Connection public void GetConn() { _connection = new Connection(); ConnectionSetup setup = new ConnectionSetup(); setup.ConnectionPara...

2012-10-16 15:09:00 119

转载 [SharePoint 2010] TimerJob开发

需求:根据查询文档库中将过期的文档。实现:通过自定义TimerJob,来定时查询文档库中即将过期的文档。资料:SharePoint 2010 TimerJob开发参考Timer Job的组成部分:定义:Timer Job的定义是一个继承自SPJobDefinition的类,在类中定义Timer Job的执行逻辑。实例:定义的实例,通过实例的各种属性来控制Timer...

2012-10-16 14:14:00 89

转载 [SharePoint 2010] 中关于UTC时间的问题记录

最近业务部门总是反馈说查询出来的文档发布日期不对,检查后发现,实际日期和显示的日期总有8H的差值。8这个数字应该就是北京时间和UTC时间的时差了。翻阅了一些资料(http://www.novolocus.com/2008/07/31/sharepoint-web-services-and-utc-time-fun-and-games/),下面做一些测试。我们知道Sharepoin...

2012-10-11 16:19:00 256

转载 [SharePoint 2010] 自定义Action开发

需求:创建带Code-Behind的网站页面,并通过Action在sharepoint中显示。实现:1.创建带Code-Behind的sharepoint网站页面。新建空白sharepoint项目,在项目中添加模块CustomPages。将Sample.txt修改为MyTemplate.aspx。添加以下内容。<%@ Assembly Name="$ShareP...

2012-10-11 10:41:00 101

转载 [SharePoint 2010] 自定义字段类型开发

需求:实现针对单个字段修改权限的控制实现:从OOB的字段类型中扩展出新的字段类型,能够配置字段的编辑权限。参考资料:介绍:http://msdn.microsoft.com/zh-cn/library/ms446361(v=office.12).aspx演练:http://msdn.microsoft.com/zh-cn/library/bb861799(v=office...

2012-10-10 17:14:00 81

转载 [Discuz!NT] Crash问题记录

最近在整合Discuz!NT,遇到一些问题。最奇怪的问题是:在我本地机器部署成功,但部署到服务器上就失败。本地的系统是:win7 x32服务器系统:window server 2008 x64使用Debug Diagnostics诊断,发现源码引发了Crash。在Discuz.Common.Encrypt的DES类中,Decode方法调用了CryptoStream.Flu...

2010-08-25 08:29:00 81

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除