cancel
Showing results for 
Search instead for 
Did you mean: 

Add field to UWL Tracking TAB

Former Member
0 Kudos

Hi, I have the requirement to add a Custom Field to the Tracking tab in the UWL.

I've mannaged to add this field in the Task tab using the Custom Attributes and the UWL Configuration files. But I can't get to do the same thing in the Tracking TAB.

Does some knows how to do this?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

hello

You can add  Customs Fields to the Tracking tab in the UWL.

 

To do that, you have to create a sub view before in the tracking tab.

  1. Click on the tag « System
    administration »
  2. Click on the link Universal worklist &
    workflow
  3. Click on the link  Universal worklist- administration
  4. Select 
    the connection  type
    « WebFlowConnector » .
  5. Click on the link « Click to manage item Types
    and View définitions »
  6. Here you have several possibilities.

  • You can download the file uwl.standard , process
    the update and upload the new file with a new name. 

  or

 

  • You can create a new file with the customs
    fields for the tab « tracking ». To do that :

      A- Create a file with this 8     lines. That you can find in the  file uwl.standard.

      


 

<?xml version="1.0" encoding="UTF-8"
  standalone="no"?>

<!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN"
  "uwl_configuration.dtd">


<UWLConfiguration version="1.0">


 

<ItemTypes>

..................
 

</ItemTypes>


 

<Views>


  ...................

</Views>


 

</UWLConfiguration>


 

  

B-Fill the tag <ItemTypes> and <View name….> 

In the tag <ItemTypes> add a  type <ItemType….>

   


 

<ItemType name="uwl.request.webflow.WS90000018.UT2XXXX20"
  connector="WebFlowConnector" defaultView="TRACKING2"
  defaultAction="viewDetail" executionMode="default">

<ItemTypeCriteria systemId="UT2XXXX20"
  externalType="WS90000018"
  connector="WebFlowConnector"/>

<CustomAttributes>

<CustomAttributeSource id="WEBFLOW_CONTAINER"
  objectIdHolder="externalId" objectType="WebFlowContainer"
  cacheValidity="5">

 

<Attribute name="FAC" type="string"
  displayName="Facture"/>

 

</CustomAttributeSource>

</CustomAttributes>

<Actions>

<Action name="followUp" groupAction=""
  handler="dummy" returnToDetailViewAllowed="yes"
  launchInNewWindow="no">

<Properties>

<Property name="display_order_priority"
  value="uwlExcludeFromPreviewDetail"/>

</Properties>

<Descriptions default="followUp"/>

</Action>

<Action name="reserve" groupAction=""
  handler="dummy" returnToDetailViewAllowed="yes"
  launchInNewWindow="no">

<Properties>

<Property name="display_order_priority"
  value="uwlExcludeFromPreviewDetail"/>

</Properties>

<Descriptions default="followUp"/>

</Action>

</Actions>

</ItemType>


 


 

- The custom attributs is FAC that is filled in the container of the task

   In <ItemTypes> add the view <Views name ….>

    


 

<View name="TRACKING2"
  selectionMode="SINGLESELECT" width="98%"
  supportedItemTypes="uwl.request.webflow.WS90000018.UT2XXXX20"
  columnOrder="subject, creatorId, createdDate,FAC"
  sortby="createdDate:desc" tableDesign="STANDARD"
  visibleRowCount="10" headerVisible="no"
  queryRange="undefined" tableNavigationFooterVisible="yes"
  tableNavigationType="CUSTOMNAV" actionRef=""
  refresh="300" dueDateSevere="86400000" dueDateWarning="259200000"
  emphasizedItems="new" displayOnlyDefinedAttributes="yes"
  dynamicCreationAllowed="yes" actionPosition="bottom">

 

<Descriptions default="TRACKING2"/>

 

<DisplayAttributes>

 

<DisplayAttribute name="isLaunched"
  type="image" width="24px" sortable="no" format="default"
  referenceBundle="launched" hAlign="LEFT"
  vAlign="BASELINE" maxTextWidth="0"
  headerVisible="no">

  <ImageMapping default="0">

<ImageMap value="1"
  imageName="ico16_clock1.gif"
  referenceBundle="is_launched"/>

 

<ImageMap value="0" imageName="1x1.gif"
  referenceBundle="not_launched"/>

</ImageMapping>

</DisplayAttribute>

 

<DisplayAttribute name="FAC" type="date"
  sortable="yes" format="default" hAlign="LEFT"
  vAlign="BASELINE" maxTextWidth="0"
  headerVisible="yes">

<Descriptions default="Facture"/>

</DisplayAttribute>

 

<DisplayAttribute name="status" type="string"
  width="" sortable="yes" format="default"
  referenceBundle="status" hAlign="LEFT"
  vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>

 

<DisplayAttribute name="subject" type="link"
  width="" sortable="yes" format="default"
  actionRef="viewDetail" referenceBundle="subject"
  hAlign="LEFT" vAlign="BASELINE"
  maxTextWidth="0" headerVisible="yes"/>

 

<DisplayAttribute name="statusIcon"
  type="image" width="24px" sortable="yes"
  format="default" referenceBundle="status_image"
  hAlign="LEFT" vAlign="BASELINE"
  maxTextWidth="0" headerVisible="no">

 

<ImageMapping default="enum">

 

<ImageMap value="NEW"
  imageName="ico16_task_new.gif"
  referenceBundle="new_task_status"/>

 

<ImageMap value="CANCELLED" imageName="ico16_task_reject.gif"
  referenceBundle="cancelled_task_status"/>

 

<ImageMap value="INPROGRESS"
  imageName="ico16_task_start.gif"
  referenceBundle="start_task_status"/>

 

<ImageMap value="enum"
  imageName="ico16_task_new.gif"
  referenceBundle="new_task_status"/>

 

<ImageMap value="EXECUTED"
  imageName="ico16_task_confirmed.gif"
  referenceBundle="confirmed_task_status"/>

 

<ImageMap value="COMPLETED"
  imageName="ico16_task_complete.gif"
  referenceBundle="complete_task_status"/>

 

</ImageMapping>

 

</DisplayAttribute>


  <DisplayAttribute name="creatorId"
  type="people" width="" sortable="yes"
  format="default" referenceBundle="from"
  hAlign="LEFT" vAlign="BASELINE"
  maxTextWidth="0" headerVisible="yes"/>
 

<DisplayAttribute name="memoCount"
  type="image" width="24px" sortable="yes"
  format="default" referenceBundle="memo"
  hAlign="CENTER" vAlign="BASELINE"
  maxTextWidth="0" headerVisible="no">

<ImageMapping default="1">

 

<ImageMap value="1" imageName="ico16_note.gif"
  referenceBundle="memo"/>

 

</ImageMapping>

 

</DisplayAttribute>

 

<DisplayAttribute name="FAC" type="string"
  sortable="yes" format="default" hAlign="LEFT"
  vAlign="BASELINE" maxTextWidth="0"
  headerVisible="yes">

<Descriptions default="Facture"/>

</DisplayAttribute>

 

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

 

<DisplayAttribute name="itemTypeIcon"
  type="image" width="24px" sortable="yes"
  format="default" referenceBundle="item_type"
  hAlign="LEFT" vAlign="BASELINE"
  maxTextWidth="0" headerVisible="no">

 

<ImageMapping default="none">

 

<ImageMap value="uwl.forwardedtask"
  imageName="fw_task_14x14.gif"
  referenceBundle="forwarded_tasks"/>

<ImageMap value="uwl.notification"
  imageName="notification_14x14.gif"
  referenceBundle="task_notifications"/>

 

<ImageMap value="none" imageName="">

 

<Descriptions default=""/>

</ImageMap>

<ImageMap value="uwl.request"
  imageName="request.gif" referenceBundle="tracking"/>

 

<ImageMap value="uwl.task"
  imageName="task_14x14.gif" referenceBundle="tasks"/>

 

<ImageMap value="uwl.alert"
  imageName="alert_14x14.gif"
  referenceBundle="task_alerts"/>

 

</ImageMapping>

</DisplayAttribute>

  

</DisplayAttributes>

 

<AllowedFilters>

 

<CompoundExpression logicalOperation="AND"
  defaultViewFilter="yes"
  referenceBundle="filter_display_all"/>

 

<CompoundExpression logicalOperation="AND"
  defaultViewFilter="no" referenceBundle="filter_new">

 

<Expression name="status" value="NEW"
  comparator="Equals"/>

 

</CompoundExpression>

 

<CompoundExpression logicalOperation="AND"
  defaultViewFilter="no"
  referenceBundle="filter_inprogress">

<Expression name="status" value="INPROGRESS"
  comparator="Equals"/>

 

</CompoundExpression>

 

<CompoundExpression logicalOperation="AND"
  defaultViewFilter="no" referenceBundle="filter_duetoday">

 

<Expression name="dueDate" value="Today"
  comparator="Equals"/>

</CompoundExpression>

 

<CompoundExpression logicalOperation="AND"
  defaultViewFilter="no"
  referenceBundle="filter_overdue">

 

<Expression name="dueDate" value="Today"
  comparator="LessThan"/>

 

</CompoundExpression>

</AllowedFilters>

<Actions>

<Action reference="refresh"/>

</Actions>

</View>

- The custom attribut is FAC that is filled in thecontainer of the task

Save  and Upload the file in the UWL and you will see a new sub view with a custom attribut in the
tag TRACKING.

Christophe