on 06-21-2011 9:06 AM
Hello
Workflow WS12300111 is using task TS12300097 for leave approval.
I am trying to add few custom attributes to uwl.task.webflow.TS12300097 Task of leave approve workflow (For learning purposes).
I have added them as follows :
<ItemType name="uwl.task.webflow.TS12300097" connector="WebFlowConnector" defaultView="com.sap.pct.erp.mss.myOpenTasksTimeApp" defaultAction="launchWebDynPro" executionMode="default">
<ItemTypeCriteria externalType="TS12300097" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="CL_PT_REQ_WF_ATTRIBS" cacheValidity="final">
<Attribute name="REQ_ID" type="string" displayName="Document ID"/>
<Attribute name="VERS_NO" type="string" displayName="Version Number"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
....
....
In my view com.sap.pct.erp.mss.myOpenTasksTimeApp I have made changes only in "column order" attribute
columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status, REQ_ID,
VERS_NO"
But these fields REQ_ID and VERS_NO are not getting displayed in UWL in my custom view.
I am able to see the custom view.
I believe I am making some mistake in:
<CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="CL_PT_REQ_WF_ATTRIBS" cacheValidity="final">
Please suggest
Hiya,
Have you seen note number: 1600953? This looks like it will satisfy the requirement of the Request ID. And from this you may be able to determine how to bring in the custom attribute for the other field. However, I will mention to you that too many custom attributes may degrade performance.
Beth Maben
EP - Senior Support Consultant II
AGS Primary Support
Global Support Centre Ireland
Please see the UWL Wiki @
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq ***
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Saurabh,
try to add your custom attribute in your view com.sap.pct.erp.mss.myOpenTasksTimeAp how <DisplayAttributes>.
Example:
<View name=...........
<DisplayAttributes>
<DisplayAttribute name="REQ_ID" type="string" width="" sortable="yes" format="default" referenceBundle="decision" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
<DisplayAttribute name="VERS_NO" type="string" width="" sortable="yes" format="default" referenceBundle="decision" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
</DisplayAttributes>
Change the type and the other property of displayattribute as you want.
Regards,
Rocco
Edited by: Rocco P. on Oct 20, 2011 10:39 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.