on 09-11-2008 6:26 AM
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.
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.
or
A- Create a file with this 8 lines. That you can find in the file uwl.standard.
<?xml version="1.0" encoding="UTF-8" <!DOCTYPE UWLConfiguration PUBLIC "-//SAP//UWL1.0//EN" <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" <ItemTypeCriteria systemId="UT2XXXX20" <CustomAttributes> <CustomAttributeSource id="WEBFLOW_CONTAINER" <Attribute name="FAC" type="string" </CustomAttributeSource> </CustomAttributes> <Actions> <Action name="followUp" groupAction="" <Properties> <Property name="display_order_priority" </Properties> <Descriptions default="followUp"/> </Action> <Action name="reserve" groupAction="" <Properties> <Property name="display_order_priority" </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" <Descriptions default="TRACKING2"/> <DisplayAttributes> <DisplayAttribute name="isLaunched" <ImageMap value="1" <ImageMap value="0" imageName="1x1.gif" </ImageMapping> </DisplayAttribute> <DisplayAttribute name="FAC" type="date" <Descriptions default="Facture"/> </DisplayAttribute> <DisplayAttribute name="status" type="string" <DisplayAttribute name="subject" type="link" <DisplayAttribute name="statusIcon" <ImageMapping default="enum"> <ImageMap value="NEW" <ImageMap value="CANCELLED" imageName="ico16_task_reject.gif" <ImageMap value="INPROGRESS" <ImageMap value="enum" <ImageMap value="EXECUTED" <ImageMap value="COMPLETED" </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" <ImageMapping default="1"> <ImageMap value="1" imageName="ico16_note.gif" </ImageMapping> </DisplayAttribute> <DisplayAttribute name="FAC" type="string" <Descriptions default="Facture"/> </DisplayAttribute> <DisplayAttribute name="createdDate" <DisplayAttribute name="itemTypeIcon" <ImageMapping default="none"> <ImageMap value="uwl.forwardedtask" <ImageMap value="uwl.notification" <ImageMap value="none" imageName=""> <Descriptions default=""/> </ImageMap> <ImageMap value="uwl.request" <ImageMap value="uwl.task" <ImageMap value="uwl.alert" </ImageMapping> </DisplayAttribute> </DisplayAttributes> <AllowedFilters> <CompoundExpression logicalOperation="AND" <CompoundExpression logicalOperation="AND" <Expression name="status" value="NEW" </CompoundExpression> <CompoundExpression logicalOperation="AND" <Expression name="status" value="INPROGRESS" </CompoundExpression> <CompoundExpression logicalOperation="AND" <Expression name="dueDate" value="Today" </CompoundExpression> <CompoundExpression logicalOperation="AND" <Expression name="dueDate" value="Today" </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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.