It's all about the answers!

Ask a question

How do I get started writing a work item extension with a new tab and presentation?


0
1
Liora Milbaum (513288118) | asked Jul 03 '12, 6:09 p.m.
edited Jul 04 '12, 12:36 a.m. by Geoffrey Clemm (30.1k33035)


My task is developing an extension to the work item. A new tab is required with a new presentation (which I should develop).

How do I start? There is so much info on jazz.net that I can't find the tree.

Thanks,

Liora

Accepted answer


permanent link
Ralph Schoon (63.3k33646) | answered Jul 04 '12, 2:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Liora,

I would try to avoid creating extensions if at all possible. If you have to in your case, I would suggest the following reading:

Start here: https://jazz.net/library/article/784
Follow it and go here: https://jazz.net/library/article/634 (I am working on an upgrade to 4.x)

For your particular case see:
https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentations
https://jazz.net/wiki/bin/view/Main/CalculatedAttributePresentation

There is a lot more. Try the search at Jazz.net

Liora Milbaum selected this answer as the correct answer

4 other answers



permanent link
sam detweiler (12.5k6195201) | answered Jul 03 '12, 6:25 p.m.
this is not really an 'extension'.. its more a custom attribute on a page, unless u need some logic to run too

open the Project, on the process config tab, you can expand the config down to workitem,
and you can add an attribute, and then a tab in the presentation for our workitem, and then put the attribute on the page of the tab.

add attribute
add tab
   selectlayout
add presentation
   pick section

etc..

what do you need this 'extension' to do?

permanent link
VK L (8177157159) | answered Jul 03 '12, 10:34 p.m.
Hi Liora,
                Additional tabs and new presentation layouts can be created in the process config section itself.

Project confign->Configuration data->Work items->Editor presentations :
Add-> to add new presentation layout - this is equivalent to a new WI Type form and can be associated in the work item->Types and attributes section.

Thanks.

permanent link
VK L (8177157159) | answered Jul 04 '12, 1:56 a.m.
Hi Liora,
                  You can create a totally new presentation layout for a new WI  (or) you can also modify existing WI Presentations to include new tabs.
Check boxes that you are trying to put have to be new attributes in the WI and you can add-in the equivalent presentations in the WI presentation tabs.
Please refer to my previous answer in this item for details on how to do this.

Thanks.

permanent link
Liora Milbaum (513288118) | answered Jul 04 '12, 12:33 a.m.
The existing presentations do not feet the requirements. So, an extension is appropriate.

I wan to present in a dedicated tab (in a WI) the list of all files which are included in the linked change sets and a check box for each file. The check box will be used to mark if the file code reviewed or not.



Your answer


Register or to post 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.