I'm not an espert by any means in this area but I am trying to add a custom view to the UWL with approve and reject buttons so the user does not have to open each workitem to process them. I have managed to get the subview to appear on the UWL but no workitems are in the list despite there being some in the main view. I have put the XML code below, anyone have any ideas what is wrong with it?
Thanks
Rob
Code:
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE UWLConfiguration (View Source for full doctype...)> - <UWLConfiguration version="1.0"> - <ItemTypes> - <ItemType name="uwl.task.webflow.decision.TS92000003.Finance_and_HR" connector="WebFlowConnector" defaultView="myApprovalView" defaultAction="viewDetail" executionMode="default"> <ItemTypeCriteria systemId="Finance_and_HR" externalType="TS92000003" connector="WebFlowConnector" /> - <Actions> - <Action name="Approve" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no"> <Descriptions default="Approve" /> </Action> - <Action name="Reject" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no"> <Descriptions default="Reject" /> </Action> </Actions> </ItemType> </ItemTypes> - <Views> - <View name="myApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.TS92000003" columnOrder="statusIcon, subject, creatorID, createdDate, dueDate, priority, approveCol, rejectCol" sortby="createdDate:descend, priority:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" actionRef="" refresh="-1" dueDateSevere="0" dueDateWarning="0" emphasizedItems="unread" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" tableNavigationHeaderVisible="no"> - <Descriptions default="Application Mass Approval"> - <ShortDescriptions> <Description Language="en" Description="Application Approval" /> </ShortDescriptions> </Descriptions> - <DisplayAttributes> - <DisplayAttribute name="rejectCol" type="checkbox" width="" sortable="no" format="default" actionRef="2" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes"> - <Descriptions default=""> - <ShortDescriptions> <Description Language="en" Description="Reject" /> </ShortDescriptions> - <LongDescriptions> <Description Language="en" Description="Reject the request" /> </LongDescriptions> </Descriptions> </DisplayAttribute> - <DisplayAttribute name="approveCol" type="checkbox" width="" sortable="no" format="default" actionRef="1" hAlign="CENTER" vAlign="TOP" maxTextWidth="0" headerVisible="yes"> - <Descriptions default=""> - <ShortDescriptions> <Description Language="en" Description="Approve" /> </ShortDescriptions> - <LongDescriptions> <Description Language="en" Description="Approve the request" /> </LongDescriptions> </Descriptions> </DisplayAttribute> </DisplayAttributes> - <Actions> - <Action name="1" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no"> <Descriptions default="1" /> </Action> - <Action name="2" groupAction="yes" handler="UserDecisionHandler" returnToDetailViewAllowed="yes" launchInNewWindow="no" defaultGroupAction="no"> <Descriptions default="2" /> </Action> <Action reference="submitUserDecisions" defaultGroupAction="no" returnToDetailViewAllowed="yes" launchInNewWindow="no" /> </Actions> </View> </Views> </UWLConfiguration>