摘要: Reference https://dev.office.com/sharepoint/docs/sp-add-ins/create-high-trust-sharepoint-add-ins https://dev.office.com/sharepoint/docs/sp-add-ins/pac 阅读全文
posted @ 2017-06-22 17:10 一只小小菜鸟 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Reference https://dev.office.com/sharepoint/docs/sp-add-ins/create-high-trust-sharepoint-add-ins https://dev.office.com/sharepoint/docs/sp-add-ins/pac 阅读全文
posted @ 2017-06-22 16:36 一只小小菜鸟 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1 param([string]$path, [string]$fileName, [string]$storage) 2 3 $description = "Save in $storage as $fileName." 4 5 $matchData31 = '2017-01-01T23:00:00.000+01:0031truetruetruetruetruetruetrue'... 阅读全文
posted @ 2017-01-06 14:02 一只小小菜鸟 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Implement automatic deployment through windows task. 阅读全文
posted @ 2016-04-27 10:45 一只小小菜鸟 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Main list for creating event receiver for external list Subscribe storage, it could be data table in data base or even XML file. https://msdn.microsof 阅读全文
posted @ 2016-04-27 10:40 一只小小菜鸟 阅读(285) 评论(0) 推荐(0) 编辑
摘要: function PeoplePicker() { this.context = null; this.web = null; this.currentUser = null; this.parentTagId = null this.SetParentTagId = ... 阅读全文
posted @ 2014-09-12 11:28 一只小小菜鸟 阅读(573) 评论(0) 推荐(0) 编辑
摘要: SharePoint支持将列表保存成列表模板,但当列表包含Lookup字段时,通过模板创建的列表会丢失Lookup字段的信息。通过PowerShell,可以修改Lookup字段的xml内容。 1 Function Fix-LookupColumn ($webURL, $listName, $columnName, $lookupListName) 2 { 3 #Get web, list and column objects 4 $web = Get-SPWeb $webURL 5 $list = $web.Lists[$listName] 6 $column ... 阅读全文
posted @ 2014-02-25 10:27 一只小小菜鸟 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 1 private void MoveItem(SPListItem sourceItem, SPListItem destinationItem) 2 { 3 if (sourceItem == null || destinationItem == null) return; 4 5 destinationItem = GetDestinationItem(sourceItem.ID, destinationItem); 6 7 SPFieldLookup lkpField = nu... 阅读全文
posted @ 2014-02-21 11:19 一只小小菜鸟 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 在SharePoint 2010中实现View Action Button效果。http://www.sharepointblogs.be/blogs/vandest/archive/2008/06/20/view-action-button.aspx1. 创建自定义字段类ViewActionButton 继承自 SPTextField public class ViewActionButton : SPField { #region Constructors public ViewActionButton(SPFieldCollection field... 阅读全文
posted @ 2013-11-25 15:01 一只小小菜鸟 阅读(347) 评论(3) 推荐(0) 编辑
摘要: 首先要搞清楚日历事件的各种类型,参考文章:http://sharepoint.microsoft.com/blog/Pages/BlogPost.aspx?PageType=4&ListId={72C1C85B-1D2D-4A4A-90DE-CA74A7808184}&pID=761TypeDescriptionfRecurrencefAllDayEventEventTypeSingle eventAn event created with the All Day Event and Recurrence checkboxes unselected.FALSEFALSE0All 阅读全文
posted @ 2013-07-11 14:02 一只小小菜鸟 阅读(691) 评论(0) 推荐(0) 编辑