|
Blogs
Dynamic Columns for the Business Workplace As explained in the online help, you can define up to six dynamic columns for your workflow tasks. Use transaction SWL1 to configure Dynamic Columns :
UWL Configuration In order to display these dynamic columns in the UWL, you will have to download and modify some of the UWL configuration files.
1. Download the UWL configuration files Log as a system administrator in the portal and navigate to System Administration > System Configuration > Universal Worklist & Workflow > Universal Worklist - Administration and click on the Click to Manage Item Types and View Definitions link :
Then download the standard UWL configuration uwl.standard and the configuration corresponding to your system uwl.webflow.<SYSTEM_ALIAS>. You can download these files by clicking on the configuration name and then on the Download Configuration button at the bottom of the page.
2. Add dynamic columns as custom attributes Copy the uwl.webflow.<SYSTEM_ALIAS>.xml to a new file (uwl.webflow.<CUSTOMER>.xml for instance) and edit the new file. Find the task (ItemType element) for which you want to display dynamic columns, then add a CustomAttributes element and a Attribute element for each dynamic column :
Note : the defaultView property of the ItemType element indicates which view you will have to modify in the next step.
3. Display custom attributes in the UWL Copy the uwl.standard.xml file to a new file (uwl.standard.<CUSTOMER>.xml for instance) and edit the new file. Find the default view used to display your tasks and add the dynamic columns you want to display to the columnOrder property :
Then add a DisplayAttribute element for each dynamic column you want to display :
4. Upload the new configuration files and clear the cache Navigate to System Administration > System Configuration > Universal Worklist & Workflow > Universal Worklist - Administration and click on the Click to Manage Item Types and View Definitions link. Then click on the Upload New Configuration tab and upload the new configuration files :
Note : do not forget to check the High Priority option.
Then navigate to System Administration > System Configuration > Universal Worklist & Workflow > Universal Worklist - Administration and click on the Cache Administration Page link :
Finally clear the UWL cache by clicking on the Clear Cache button.
Result
You should now see the dynamic columns in the Business Workplace and the UWL :
Pierre DOMINIQUE is a SAP NetWeaver Consultant for HCA International.
| |||||||||||||||||||||||