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

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?

1 vote


Accepted answer

Permanent link
 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>


This contributes the Builds component "page" and its menu contribution, and also declares the actions the page supports.  You see these in the URLs as you navigate the web UI.

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

0 votes

Comments

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.

1 vote

Prasun, probably best to post this as a new top-level question, so RQM folks can see it.


One other answer

Permanent link

please,how extension the custom menu in componentMenuWidget,thank you

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
× 10,926
× 43
× 4

Question asked: Aug 30 '12, 7:22 a.m.

Question was seen: 7,700 times

Last updated: Feb 07 '17, 4:27 a.m.

Confirmation Cancel Confirm