Skip to Content
0
Former Member
Oct 27, 2005 at 02:56 PM

UWL change view title

147 Views

Hi everyone,

in the UWL, there are a number of default vieuws like Tasks, Alerts, Notifications and Tracking.

One of our customers wants to change the Tasks title to Inbox.

Looking at Configuring the Universal Worklist.pdf, I created a new "DefaultView" in a file called myuwlconf.xml . Apparently, in the view definition, there is an entry referenceBundle="tasks". This is where I assume the language dependent items are stored.

1) Where are the referenceBundle definitions stored?

2) Based upon SAP's pdf, I added a <Descriptions default="Inbox"> entry to define the View's title. This doesn't seem to be taken into account, as this is not displayed (after clearing the UWL cache).

Any idea's?

Below the code :

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN'

'uwl_configuration.dtd' [ ]>

<UWLConfiguration>

<Views>

<View name="DefaultView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task" columnOrder="statusIcon, subject, dueDate, priority, creatorId, createdDate, attachmentCount, detailIcon" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="top">

<Descriptions default="Inbox">

<ShortDescriptions>

<Description Language="en" Description="Inbox"/>

</ShortDescriptions>

</Descriptions>

<DisplayAttributes>

<DisplayAttribute name="priority" type="user" width="10" sortable="yes" format="default" referenceBundle="priority" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes">

<Menu>

<MenuItem name="Low" actionRef="priorityLow" referenceBundle="menu_priority_low"/>

<MenuItem name="Normal" actionRef="priorityNormal" referenceBundle="menu_priority_normal"/>

<MenuItem name="High" actionRef="priorityHigh" referenceBundle="menu_priority_high"/>

<MenuItem name="VeryHigh" actionRef="priorityVeryHigh" referenceBundle="menu_priority_v_high"/>

</Menu>

</DisplayAttribute>

<DisplayAttribute name="createdDate" type="datetime" width="" sortable="yes" format="medium" referenceBundle="sent_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>

</DisplayAttributes>

<Actions>

<Action name="refresh" reference="refresh"/>

<Action name="defaultGlobalWizard" reference="defaultGlobalWizard"/>

<Action name="addToNavigation" reference="addToNavigation"/>

<Action name="removeFromNavigation" reference="removeFromNavigation"/>

<Action name="personalize" reference="personalize"/>

<Action name="launchSubstitutionManager" reference="launchSubstitutionManager"/>

</Actions>

</View>

</Views>

</UWLConfiguration>