Designer 10.5 | webMethods BPM Task Development Help | Working with Task Portlets | Adding a New Portlet to a Task | Modifying the Task View Definition
 
Modifying the Task View Definition
You modify the task view definition only when you want to revert to an existing task overview portlet from the overview portlet currently in use. Otherwise, there is no need to modify the task view definition manually. The overview portlet is a "top-level" portlet and contains Portlet Include controls that refer to the other portlets used in the task.
*To modify the task view definition
1. In the Solutions view, open the task in the task editor by double-clicking the task name.
2. Click the taskDefinition.xml tab.
3. Locate the wm_xt_task_definition element. You can edit the text directly in the editor pane, or you can click the wm_xt_task_definition element and do the editing in the Properties view.
4. To modify the setting for the task view portlet, locate the attribute view_task_portlet_uri. The definition for this element contains a comma separated list of identifiers for portlets that are used to view task details. For example:
/portlet/project_1___newtask1view,/portlet/project_1___newtask1taskviewapproval
Modify the definition so that the task view portlet you want to use is the first entry in the definition. For example, to change the above definition to use the approval view portlet:
/portlet/project_1___newtask1taskviewapproval,/portlet/project_1___newtask1view
Software AG Designer will always use the first view portlet in the definition.
5. Save your modifications.
You can view the results on theMy webMethods Server associated with the task application project. For more information, see Running a Task Portlet. Otherwise, to view the results in the My webMethods Server run time, you must re-publish the task application. For more information, see Publishing a Task.
Related Topics