How to get parent workitem attribute in custom editor presentation (dojo templated widget)
![]()
I've created a custom widget for attribute presentation.
In web part (dojo templated widget) I need to get parent workitem attribute. Is there a way to do it? Process Enactment Workshop version 1.3 in Lab 5 says that: "It is not possible to access the relationships of a work item, especially to other work items from the links tab. It is possible to access work item attributes of type work item. This will return the work item handle but will currently not allow to resolve the referenced work item." So it's not clear whether it is possible or not. Maybe it is possible in dojo templated widget via "this.workItem" or similar? Currently I'm using RTC 4.0.4. Maybe in newer versions of jazz there will be any support? |
Accepted answer
One other answer
![]()
Denis, May I know how are you building this custom widget? Basically I would like to know the API you are using here. And what is the API you are using to get value for a work item attribute.
Since you mentioned you are in web and building custom widget, I am guessing you are using WorkItemProxy for accessing Work Item data. Please let me know if this is correct.
Thanks
Sandeep
Comments My widget is based on the article:
So I need to get parent workitem attribute in web UI, using javascript or dojo.
Can anybody help me with solving this question?
|