It's all about the answers!

Ask a question

API for customization of DNG UI


Ankita M Udyavar (72114) | asked Dec 15 '17, 7:19 a.m.

Hi All,

Kindly let me know if we can customize or modify the currently available UI of DNG.

example : Adding a new tab in DNG , adding a new button with feature.

Any help is appreciated.
Thanks.

2 answers



permanent link
Bas Bekker (1.4k4) | answered Dec 15 '17, 11:17 a.m.
JAZZ DEVELOPER
edited Dec 15 '17, 11:18 a.m.

Customizing the web UI as what you are looking for from your description is not possible, but you can extend the web UI with widgets which run you custom code, the so called client extension capability.

For completeness, the DNG public API's that are available are:

  • OSLC RM V2 API - the open standard way to programmatically integrate with DOORS Next Generation, there is an elaborate workshop to get you started here OSLC Workshop article. These programs can be from any language that support HTTP REST calls, e.g. Java, C# etc. Hence these are more flexible to run and can read and update DNG data, as part of a web server, or standalone, but have some limitations set by the current OSLC standard, for example module support. In release 6.0.5 extension have been added for modules.
  • TRS 2.0 - the OSLC Tracked Resource Set open standard REST API to hook into the stream of low level changes done to resources in the DNG application (and other Jazz apps as well); read only.
  • and as mentioned above, there is the client extension capability, these are Javascript extension that generally added as widgets you can run from the dashboard, and can be used to view and edit DNG data. It's more tailored to DNG, so has better module support, but is limited to run in a browser/javascript environment.

And there is the private REST API, which you could reverse engineer looking at the requests/responses, but it isn't documented and supported, and can change over time, so usage at your own risk.


permanent link
Lukas Steiger (3131626) | answered Dec 16 '17, 3:33 p.m.
edited Dec 17 '17, 2:37 p.m.

 In RTC, we currently add a new Menu entry providing various of our RTC extensions. One of them, the Work Item Bulk Mover, is Open Source. The project also contains the 'Menu Provider' that is responsible for creating a new, custom menu and invokes the custom page our plugin serves. Back in 2014 when we started using this, we were also able to contribute to DNG.

Take a look into the following folder, especially the plugin.xml is very helpful:



Comments
Ulf Arne Bister commented Dec 16 '17, 6:03 p.m.

 I get a 404 for that webpage. Correct link?


Lukas Steiger commented Dec 17 '17, 2:39 p.m.

Thank you Arne, there were some hidden characters in ther URL. I have updated the link.

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.