Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Creating custom web.inline editor for every workitem

Hi,

We have a customer who like to use task and defect workitem in RQM 3.0.1. They don't have CCM so I have to edit RQM's workitems.

They want to have different inline editors for those workitems. Currently all the workitems are using the same editor.

I duplicated the inline editor with a new name(com.ibm.team.workitem.web.inline.task) and also duplicated the "detail" tab and bind it to the workitem in the process configuration XML as you can see below.
workitemTypeEditorIdBinding editorId="com.ibm.team.workitem.web.inline.default" target="com.ibm.team.workitem.web.inline" workitemType="defect"/
workitemTypeEditorIdBinding editorId="com.ibm.team.workitem.web.inline.default_duplicate" target="com.ibm.team.workitem.web.inline.task" workitemType="task"/
As far as I understand "target" tag is the id of the inlineditor and editorId tag is the editor that we like to show in the sceen while trying to create a task or workitem.


But I get this error:
No inline editor presentation has been defined for this type of work item. Contact your project adminstrator.

Do need to edit someother place in the process configuration xml?

0 votes



5 answers

Permanent link
Hi,

We have a customer who like to use task and defect workitem in RQM 3.0.1. They don't have CCM so I have to edit RQM's workitems.

They want to have different inline editors for those workitems. Currently all the workitems are using the same editor.

I duplicated the inline editor with a new name(com.ibm.team.workitem.web.inline.task) and also duplicated the "detail" tab and bind it to the workitem in the process configuration XML as you can see below.
workitemTypeEditorIdBinding editorId="com.ibm.team.workitem.web.inline.default" target="com.ibm.team.workitem.web.inline" workitemType="defect"/
workitemTypeEditorIdBinding editorId="com.ibm.team.workitem.web.inline.default_duplicate" target="com.ibm.team.workitem.web.inline.task" workitemType="task"/
As far as I understand "target" tag is the id of the inlineditor and editorId tag is the editor that we like to show in the sceen while trying to create a task or workitem.


But I get this error:
No inline editor presentation has been defined for this type of work item. Contact your project adminstrator.

Do need to edit someother place in the process configuration xml?


Hi, to my knowledge in CLM2011 (3.0.1 products) there are no internal work items anymore in RQM and you use the ones provided by CCM/RTC which you can given the license. Your license will provide R/W rights on CCM work items.

Your original question: In the Eclipse client, I typically use, you still have to set the various editors you want to use. Only duplicating the editor presentations is not enough. You don't have to do anything in the XML to do so. Just go into tTypes And Attributes and select the editor you want to use for the four choices.

Maybe I am missing something.

0 votes


Permanent link

Hi, to my knowledge in CLM2011 (3.0.1 products) there are no internal work items anymore in RQM and you use the ones provided by CCM/RTC which you can given the license. Your license will provide R/W rights on CCM work items.

Your original question: In the Eclipse client, I typically use, you still have to set the various editors you want to use. Only duplicating the editor presentations is not enough. You don't have to do anything in the XML to do so. Just go into tTypes And Attributes and select the editor you want to use for the four choices.

Maybe I am missing something.


There are some workitems in RQM like task and defect(in case you dont use CCM). And those two workitem is using the same web.inline editor. I want to separate the inline editor.

0 votes


Permanent link

Hi, to my knowledge in CLM2011 (3.0.1 products) there are no internal work items anymore in RQM and you use the ones provided by CCM/RTC which you can given the license. Your license will provide R/W rights on CCM work items.

Your original question: In the Eclipse client, I typically use, you still have to set the various editors you want to use. Only duplicating the editor presentations is not enough. You don't have to do anything in the XML to do so. Just go into tTypes And Attributes and select the editor you want to use for the four choices.

Maybe I am missing something.


There are some workitems in RQM like task and defect(in case you dont use CCM). And those two workitem is using the same web.inline editor. I want to separate the inline editor.

The inline editor: see above. Which inline editor to use is specified in the Work Item Types and Attributes dialog, in the Web UI as well as in the Eclipse editor.

You should not edit the XML directly. I just looked into my QM application version 3.0.1 and the dialog is there, also in the web editor. Your error message implies the selection is still "none".

Just for your information, http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=/com.ibm.jazz.install.doc/topics/c_upgrade_rqm_overview.html says:


In addition, the Task-Quality work items that were previously managed internally within Rational Quality Manager, are now managed in the CCM application. For details about the use of work items and defects in version 3, see Managing the team with work items.


That was also my information. As of how it is done so that you still see the quality tasks in RQM and not in CCM, also for administation, I am not sure about, unfortunately 8-). However it is the same UI you are using in QM and CCM and the association to the available Editor Presentations is done in "Types and Attributes".

0 votes


Permanent link
The inline editor: see above. Which inline editor to use is specified in the Work Item Types and Attributes dialog, in the Web UI as well as in the Eclipse editor.


I know that but when I duplicate the inline editor with a new name. This new one is not shown in the Work Item Types and Attributes. That's why I edited the XML manually.

0 votes


Permanent link
The inline editor: see above. Which inline editor to use is specified in the Work Item Types and Attributes dialog, in the Web UI as well as in the Eclipse editor.


I know that but when I duplicate the inline editor with a new name. This new one is not shown in the Work Item Types and Attributes. That's why I edited the XML manually.

Hi, i just checked and the inline work item editor seems to work a bit different from the work item editor. You don't duplicate the com.ibm.team.workitem.web.inline. You duplicate a section in the presentation or add a new section. The section has an ID which you can later choose in the mentioned dialog.

I ran into that a year ago and it didn't ring a bell, sorry. There seem to be different rules for some of the editor presentations. I can't test that with the QM application, since my install does only provide the review workflow and presentation. It works with my CCM application however.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,618

Question asked: Jul 27 '11, 4:44 a.m.

Question was seen: 10,115 times

Last updated: Jul 27 '11, 4:44 a.m.

Confirmation Cancel Confirm