System Setup / Plugin Customization / Plugin Configuration [SET062].
One of the key features of the Task Management module is that it is highly customizable. This Task Allocation Plugin is key to the process and allows for customization of how tasks are allocated from the HTML5 Task List.
The plugin works similar to the existing plugin logic, with an Interface defining the input and return values of the plugin.
The plugin is applicable to the Fetch New Task button.
If you don’t like reading, you can watch the video.
None
Try it!
Plugin details
Type | Plugin Name | Interface | Location | Method Name | Module | Linked Action |
Task Management | Task Management Allocation | ITASKMANALLOCATION | DATASCOPE.SDK.PluginInterfaces | AllocateTasks() | Task Management Allocation | Allocate Tasks |
To configure this plugin:
From the Main Menu, browse to System Setup / Plugin Customization / Plugin Configuration
Select Task Management Allocation from the Plugin Name drop-down.
Select ADD from the Action drop-down
Enter a Display Name (i.e. TaskAllocation)
Add the complied DLL file name, developed by a developer, in the Dll FileName field - for example TaskAllocation.dll
The DLL file name added into the Dll FileName field must be exactly the same as the .DLL file saved in the C: / Program Files (x86) / DATASCOPE / DATASCOPE WMS WebAPI / Plugins folder.
All the Plugin .DLL files are located on the DATASCOPE WMS server under C: / Program Files (x86) / DATASCOPE / DATASCOPE WMS WebAPI / Plugins. . Refer to https://datascopewms.atlassian.net/wiki/spaces/TG/pages/109051919/What+is+needed+to+work+with+Plugins#Location-of-plugin-files .
Select Save to save the configuration.
This plugin will now be configured for the Fetch New Task button on the HTML5 Task List screen.
For more information on configuring a plugin, refer to Create a Custom Plugin and link it to a Module or System Setting (configuring plugins) or https://datascopewms.atlassian.net/wiki/spaces/TG/pages/109707274/Developing+your+own+plugins#Configuring-the-plugin-in-the-software
To develop your own plugin:
Strong development skills are required in order to develop your own plugins.
For more information, refer to What is needed to work with Plugins?
Insert the DATASCOPE SDK
Insert the inheritance from the DATASCOPE SDK
Select the required Interface.
Write your code as per your own requirement.
Build it into a single .dll file and save it in the C:/ Program Files / DATASCOPE / DATASCOPE WMS WebAPI / Plugins folder on the server.
Configure and saved the plugin in the system Plugin Configuration screen.
Test it in the module.