new attribute - how to add to Web UI?
We've added a new attribute to our Work Item and updated the editor presentation to offer/display it. Works in the rich client. However the new field does not appear in our Web UI and I haven't found an article on extending the Web UI to support custom attributes. Is there guidance somewhere on this?
Thanks! |
5 answers
Hi
This should work out of the box. Both work item editors in the web/ui and the eclipse client uses the same editor presentation description. However the web/ui can not show added fields on the custom tab automatically, but from your description it sounds af if you had updated the editor presentations - thus it should work. Can you please provide a bit more details, e.g. the type of the attribute. You may also create a defect work item on jazz.net against the work items component and attach your process specification source s.t. we could have a look and help debug. Regards Marcel Jazz Work Item team |
Can you please provide a bit more details, e.g. the type of the attribute. Created a new attribute for the Story Work Item type (com.ibm.team.workitem.workItemType.story). The attribute has type Small String. Then I added the new attribute to the Editor Presentation for story (com.ibm.team.apt.editor.story). It is visible in the client when creating new stories, but I have not found it in the Web UI. |
I have tried to reproduce:
I have added a small string attribute to the story type. I have added a presentation on the story editor in the details section to show this attribute -> it shows up in both UIs on new stories. What version of RTC are you using? In which section did you add the small string attribute? Regards Marcel Jazz Work Item team |
Thanks Marcel.
I'm using 2.0 - our last upgrade was June/July. I added the new attribute to Overview->Details, at the bottom of the list of attributes. :oops: And today, when I go to look at the WebUI, the field is there! I blame caching and/or end-of-year weariness. Time for some vacation... |
:oops: And today, when I go to look at the WebUI, the field is We cache the presentation instructions in the Web UI, which may explain the effect. A reload of the entire page is needed after modifications to the presentation configuration. -- Regards, Patrick Jazz Work Item Team |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.