Dear UWL Experts,
We have successfully created a Custom attribute that shows the type of object we are trying to approve.
Now we need that, when this attribute is clicked, it takes us to the default action of the task.
One of the tasks is defined this way:
<ItemType name="uwl.task.webflow.srm.TS00700195" connector="WebFlowConnector" defaultView="com.sap.pct.srm.core.view.tasks" defaultAction="com.sap.pct.srm.core.action.launchWD.TOB.display" executionMode="default">
The action is defined this way:
<Action name="com.sap.pct.srm.core.action.launchWD.TOB.display" groupAction="" handler="ObjectNavigationLauncher" referenceBundle="com.sap.pct.srm.core.launch.WDCLFPOIF" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL" launchNewWindowFeatures="resizable=yes,toolbar=no,menubar=no,location=no,directories=no"> <Properties> <Property name="ObjectName" value="TOB"/> <Property name="Operation" value="display"/> <Property name="System" value="SAP_SRM"/> <Property name="ObjectValue" value="a=b&&TOB_GUID=${item.TOB_GUID}&PI_WORKITEM_ID=${item.externalId}"/> <Property name="display_order_priority" value="30"/> </Properties> </Action>
And the attribute is currently defined:
<DisplayAttribute name="V_OBJECT" type="link" sortable="yes" format="default" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes" actionRef="" referenceBundle="subject"> <Descriptions default="Object"/> </DisplayAttribute>
The problem is that, when we click on the attribute, it takes us to the default 'viewDetail' action, that shows the task detail.
Could you please help me?
Thanks and regards,
Sergio