Is it possible to create UI extension for RTC web client?
![]() Lets say I woud like to add a new menuitem to one af the RTC web client menues (like Work Items menu or Source Control menu) or add a button to one of the webpages that will execute some custom logic. In case it is possible where I can find some samples? |
Accepted answer
![]()
Yes, these are contributed as extensions. For example, Build's contribution, in the com.ibm.team.build.webui plug-in, is:
<extension point="net.jazz.ajax.pages"> <page componentMenuWidget="com.ibm.team.build.web.ui.internal.BuildComponentMenu" defaultAction="com.ibm.team.build.viewDefault" id="com.ibm.team.build" name="%page.build" widget="com.ibm.team.build.web.ui.internal.BuildPage"> <action id="com.ibm.team.build.viewDefault"/> <action id="com.ibm.team.build.viewDefinitionList"/> <action id="com.ibm.team.build.viewDefinition"/> <action id="com.ibm.team.build.viewResult"/> <action id="com.ibm.team.build.viewBuildQueue"/> <action id="com.ibm.team.build.viewBuildEngines"/> <action id="com.ibm.team.build.requestBuild"/> <action id="com.ibm.team.build.viewEngineResults"> </action> <action id="com.ibm.team.build.editDefinition"> </action> <action id="com.ibm.team.build.editEngine"> </action> </page> </extension>
The following is also needed, to declare that the plug-in contributes to the web UI, and that files under its 'resources' folder should be accessible via .../web/<plugin id>, i.e. for JS, images, etc.
<!-- Web bundle marker --> <extension point="net.jazz.ajax.webBundles"> </extension>
For more info, see the WebUIBook wiki.
As for contributing to an existing page, most of them are not open-ended, but Build's is. That is, you can contribute overview summaries and tabs to the build result page, and similarly for build definitions and engines.
Julia Ballos selected this answer as the correct answer
Comments 1
Can Web UI extensions be developed for RQM as well. We are using RQM 4.0 and need to develop custom functionality for post-conditions that will execute when a Test artifact is saved. How is the extension deployed on the RQM server which is a production server in our case. Prasun, probably best to post this as a new top-level question, so RQM folks can see it. |
One other answer
![]() please,how extension the custom menu in componentMenuWidget,thank you
|