Create Plugins

A plugin consist of:

·         a worker (inherits from Sidvall.WorkItemManager.Workflow.WorkItemProviderBase).

·         (OPTIONAL) a context editor viewmodel (inherits from using MvvmCross.Core.ViewModels;.MvxViewModel) and a corresponding view (inherits from MvvmCross.Wpf.Views.MvxWpfView).

·         (OPTIONAL) a execution context editor viewmodel (inherits from using MvvmCross.Core.ViewModels;.MvxViewModel) and a corresponding view (inherits from MvvmCross.Wpf.Views.MvxWpfView).

 

1.       Download plugin templates from http://sidvallworkitemmanager.codeplex.com

2.       Write your plugin.

3.       Copy the files of the worker-plugin to the plugin folder of your worker.

4.       (OPTIONAL) Copy the files of the context editor-plugin to the plugin folder of your WorkItem Manager.

5.       (OPTIONAL) Copy the files of the execution context editor-plugin to the plugin folder of your WorkItem Manager.

6.       Register the plugin in the Task Type-view in the menu to the left.

7.       Restart the WorkItem Manager.

8.       Now you can select the new task type when you create a task.