on 04-03-2012 9:17 AM
Hi all,
When I press the View Detail button I'm missing the buttons "Display Form", "Attachments" and "Forward" in the window that pops up. Currently the buttons available looks like this:
We have just upgraded to NW 7.3 and the view used to look like this before the upgrade
I have configured the View Detail action like this inside a View:
<Action name="viewDetail" groupAction="" handler="SAPWebDynproLauncher" referenceBundle="view_detail" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="width=700,height=600,resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
<Properties>
<Property name="WebDynproDeployableObject" value="sap.com/tc~kmc~bc.uwl.ui~wd_ui"/>
<Property name="WebDynproApplication" value="UWLDetail"/>
<!--<Property name="WebDynproDeployableObject" value="sap.com/tckmcbc.uwl.ui~wd_ui"/>-->
<Property name="excludeActions" value="$"/>
<Property name="isnewwindow" value="1"/>
<Property name="excludePreviewSections" value="$"/>
<Property name="image" value="icon_detail.gif"/>
<Property name="sap_uwl_selecteditem" value="${item.internalId}"/>
<Property name="displayEmptyDisplayAttributes" value="$"/>
<Property name="System" value="SAP_LocalSystem"/>
<Property name="excludeDisplayAttributes" value="$"/>
<Property name="display_order_priority" value="-2"/>
</Properties>
</Action>
And the URL being sent to the View Detail pop-up excludes no actions:
Can someone help me?
BR Jan
Hello,
You should be able to still see the actions in the context menu. The context menu is the dropdown beside the task name. Select the task first, then select the dropdown. Do you see the actions there? Also to see the buttons at the bottom of the description area they must be defined in the view....see below for an example. When userdecisions are used, they are always visible on the UI when they are defined in the view. actionPosition tag decides where these should go. In this example the buttons will be displayed at the bottom of the description area.
The xml file should look something like this for the view: (This is a sample).
<Views>
<View name="<YOURVIEW>" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS00008267" columnOrder="statusIcon, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, attachmentCount, detailIcon, APPROVE, REJECT" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="YOURBUNDLE">
<Actions>
<Action reference= "display form">
<Action reference= "attachments">
<Action reference= "forward"/>
</Actions>
</View>
</Views>
Best Regards,
Beth Maben
EP - Senior Support Consultant II
SAP Active Global Support
Global Support Centre Ireland
** Universal Worklist Wiki:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Beth,
good to see that there seems to be a solution for this problem. In fact, I'm facing the same issue but something is not working with your solution.
I have created three custom actions for my itemtype:
<ItemType name="uwl.task.webflow.TS90000083.ERPHR" connector="WebFlowConnector" defaultView="HRView" executionMode="default">
...
<Actions>
<Action name="startEvaluation" handler="IViewLauncher" groupAction="" returnToDetailViewAllowed="yes" defaultGroupAction="no" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no,width=400,height=150">
...
Next, I've created my own view:
<View name="HRView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task" columnOrder="subject, isEscalated, creatorId, createdDate, DUE_DATE" sortby="createdDate:descend, DUE_DATE:ascend" 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" referenceBundle="tasks">
...
<Actions>
<Action reference="refresh" />
<Action reference="startEvaluation" />
...
However, this is not doing the trick. What is strange is that, after uploading this XML, the first action remains whereas the others (just one is mentioned in the example above) are removed without further notice.
As a result, I do have my actions in this little dropdown but I can no longer see the buttons at the end of the preview area. Why is that?
I do not understand why SAP has moved these actions. This is the total opposite of user friendlyness. At least I cannot roll out this solution to our customers. I have to restore the pre 7.3 behaviour.
Thank you for your support.
Kind Regards.
Hi Beth,
Thank you for your answer. Since I couldn't get the buttons enabled at the bottom of the view and the context menu option was not acceptable for our users my workaround ended up being to enable the detail view so they could see the actions there. They were actually happy about avoiding an extra pop-up.
BR Jan
I cannot see exactly what you do wrong. Below is my code that results in 3 buttons at the end of the preview area. I can see I have included this <Action reference="viewDetail"/> which you can try but I don't think it should be necessary. Maybe the problem is in your action definition?
<View name="com.sap.pct.erp.mss.tra.view.TripApprovalView" selectionMode="SINGLESELECT" width="98%" supportedItemTypes="uwl.task.webflow.decision.TS92000063, uwl.task.webflow.decision.TS20000131" columnOrder="TripNumber, statusIcon, Oa_Att_Docs, subject, priority, creatorId, createdDate, dueDate, processor, forwardedDate, detailIcon, APPROVE, MoreOptions" sortby="priority:descend, dueDate:ascend, createdDate:descend" tableDesign="STANDARD" visibleRowCount="10" headerVisible="yes" queryRange="undefined" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="0" dueDateWarning="0" emphasizedItems="none" displayOnlyDefinedAttributes="yes" dynamicCreationAllowed="yes" actionPosition="bottom" referenceBundle="com.sap.pct.erp.mss.tra.TripApproval">
....
<Actions>
<Action reference="submitUserDecisions"/>
<Action reference="viewDetail"/>
<Action reference="com.sap.pct.erp.mss.tra.action.DisplayExpenseForm"/>
<Action reference="MyViewAttachments"/>
</Actions>
</View>
This is basically what I have as well. Still, it's behaving differently. Unfortunately SAPs documentation about the UWL XML capabilites is very limited so it's rather try and error.
What I do not understand is why my three actions are removed when uploading the XML. They are simply gone.
Thank you anyway.
Can anyone suggest whether it would be relevant for me to create an OSS message with SAP regarding this issue? Or am I missing something obvious?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is anyone able to give me a clue regarding how to proceed?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.