SharePoint怎样给List自动关联工作流

KissinU 2013-04-08 03:25:02
我现在为了让工作流实现重用,每次都是在部署之后进行手动添加:


我想问一下:能不能在List的 Schema中给他自动绑定,我知道Webpart可以在List的Schema中指定的,不知道工作流可不可以
...全文
201 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
全海之澜 2013-04-09
  • 打赏
  • 举报
回复
楼上大大第一个方法值得一试。
段传涛 2013-04-09
  • 打赏
  • 举报
回复
如果重用, 就做一个工作流模板,或者把你创建的工作流 存储为片段可以其他list里使用。 我们使用的是第2个方法。
天涯海角 2013-04-08
  • 打赏
  • 举报
回复
没有这种办法的: There is no default way to associate a Workflow to the List Definition, If you want to do you have to follow one of the following option 1.Write a Feature Receiver and write code to associate the Workflow to the List. 2.Another option is to create a content type and you can associate a workflow to that content Type using feature.

3,245

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 SharePoint
社区管理员
  • SharePoint社区
  • 霖雨 - LinyuLoveTJ
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧