08 2014 档案
摘要:SPListCollection转DatatableSPListItemCollection unprocessedItems = List.GetItems(query);DataTable dt1 = unprocessedItems.GetDataTable();Folder类型添加自定义属性...
阅读全文
摘要:SharePoint 是在 WF 工作流引擎之上,封装了事件驱动接口的一个工作流平台; SharePoint 在 WF 上扩充了很多 Activity,其中和 WF 密切相关的有三个常用 Activity是: OnWorkflowActivated,CreateTask,OnTaskChanged。...
阅读全文
摘要://在列表根目录下创建文件夹 public static string CreatFolderToSPDocLib(string strFolderName, string strDocLibName) { string FolderPath = string.Empty; try { using ...
阅读全文
摘要:sharepoint提供的spfile相关方法中只能通过站点内复制移动文件,站点间复制文件需要用到将文件转换为字节流数据。以下提供函数进行进行站点间复制参考。 1 public static void MovetofileAcrossWeb(string sourcewebUrl, string ...
阅读全文