Skip to Content

How to add TASKTEXT of a workitem

Hello Experts,

I want to add the "TASKTEXT" attribute from "_WORKITEM" object.

I added the following to my XML:

<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectID" objectType="_WORKITEM" cacheValidity="default">
<Attribute name="TASKTEXT" type="string" displayName="CreatedBy"/>
</CustomAttributeSource>
</CustomAttributes>

and then added the attribute as display attribute in the view but the column's value is not visible.

When I use the following object & attribute, it works.

<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectID" objectType="BUS2009" cacheValidity="default">
<Attribute name="CreatedBy" type="string" displayName="CreatedBy"/>
</CustomAttributeSource>
</CustomAttributes>

How do display "TASKTEXT"?

Regards,

Omri

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2011 at 12:31 PM

    Have you tried "_Workitem" instead of "_WORKITEM" as on object type? It might be case sensitive. The exact element name in backend is _Workitem.

    Regards,

    Karri

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Karri,

      You're right I tried also with TaskText - no success.

      I'm refreshing the UWL cache after every change and start a new session.

      Regarding using the WEBFLOW_CONTAINER: I did it for one of my customers and it works.

      Tthe problem, as you mentioned is that it should be maintained for every task.

      If I won't find a solution and will use the WEBFLOW_CONTAINER...

      Regards,

      Omri

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.