
Workflow
匆匆过客121
IT工作者,爱好编程
展开
-
在工作流中使用自定义表单
需要在feature.xml中添加如下配置。 在workflow.xml的MetaData节点下添加如下配置。urn:schemas-microsoft-com:office:infopath:StateApprovalForm:-myXS原创 2011-09-14 16:44:08 · 1141 阅读 · 3 评论 -
读取InfoPath中的附件并附加至SharePoint列表
在Workflow 中,签核完成后,在列表中生成一笔记录,并且将表单的附件附加到该记录中。1. 新建 coder 类. http://support.microsoft.com/kb/892730using System;using System.IO;using System.Text;using System.Security.Cryptography;namesp原创 2011-11-07 11:23:22 · 793 阅读 · 0 评论 -
获取当前sharepoint站点集中的登录用户及在workflow里获取当前登录用户
1.获得当前用户SPUser spuser = Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(Context).CurrentUser;SPUser currentUser = Micro转载 2011-09-30 10:15:57 · 1271 阅读 · 0 评论 -
在Workflow 中读取提交的申请单的内容
可以通过提升申请单的field,然后通过操作SPListItem来操作字段 (workflowProperties.Item 为对应的 SPListItem) 也可以通过直接读取源xml文件来处理.http://topic.youkuaiyun.com/u/20090904/16转载 2011-10-14 15:07:47 · 449 阅读 · 0 评论 -
Approval Status 审批状态的修改_ModerationStatus
using (SPSite oSiteCollection = new SPSite("http://localhost")){ SPWebCollection collWebsites = oSiteCollection.AllWebs; forea原创 2011-10-13 15:40:06 · 1889 阅读 · 0 评论 -
使用编程的方式来启动SharePoint的工作流 并传入参数
(1) Define one class with propertiesusing System.Xml.Serialization;using System.Xml;using System.IO;[Serializable()]public class Wo转载 2011-10-13 08:33:31 · 480 阅读 · 0 评论 -
[Sharepoint]How to Complete Task using code and send to next task
为了实现批量签核,需在代码中实现完成task并自动生成下一步task的功能.先在Task列表中找到相应的task记录, 如下代码中是 taskListItem , 且在工作流中有一个 checkbox 域-- Result 来标记签核结果Hashtable data =原创 2011-09-22 11:08:31 · 902 阅读 · 0 评论 -
Bulk Editing Workflow Tasks in Office SharePoint Services 2007
OK, we're back. Since it's now officially 2007, it seemed appropriate to focus my first entry of the New Year on Office SharePoint Server 20转载 2011-09-22 11:09:51 · 366 阅读 · 0 评论 -
如何:访问工作流中的关联和初始表单数据
http://msdn.microsoft.com/zh-cn/library/ms566880.aspx提取 InfoPath 关联或初始表单的架构。在 InfoPath 中打开已保存和发布的工作流表单。 若要将表单保存为源文件,请在“文件”转载 2011-09-07 11:41:41 · 587 阅读 · 0 评论 -
This Task Is Currently Locked by a Running Workflow and Cannot Be Edited
Problem: In SharePoint Workflow, "This task is currently locked by a running workflow and cannot be edited" is the common exception, that we face.Solution: Generally this exception occurs 1. wh转载 2012-01-09 09:36:29 · 2001 阅读 · 0 评论