We have workflow which enables creator of list item to edit it later. Is it possible to associate workflow with certain list templates, so when user creates new instance of such list, workflow is there and does it job?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
In SharePoint 2010 you can use SPListEventReceiver. This class contains handler to perform actions on ListAdded event. In this event you can retrieve list template from current list and compare it with needed template, if the tamplates are equal you can assigne the workflow to this list by code.
|
|||
|
|
|
you can use this tool to associated event handlers with a list. http://spstipsutilitypack.codeplex.com/ Good luck. |
|||
|
|