首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 企业软件 > 行业软件 >

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

2013-04-20 
SharePoint怎样给List自动关联工作流我现在为了让工作流实现重用,每次都是在部署之后进行手动添加:我想问

SharePoint怎样给List自动关联工作流
我现在为了让工作流实现重用,每次都是在部署之后进行手动添加:

SharePoint怎么给List自动关联工作流
我想问一下:能不能在List的 Schema中给他自动绑定,我知道Webpart可以在List的Schema中指定的,不知道工作流可不可以
[解决办法]
没有这种办法的:
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.

[解决办法]
如果重用, 就做一个工作流模板,或者把你创建的工作流 存储为片段可以其他list里使用。
我们使用的是第2个方法。 
[解决办法]
楼上大大第一个方法值得一试。

热点排行