It's all about the answers!

Ask a question

Using React.js for Doors Next Generation Client Extension


Joshua Baxter (512715) | asked Oct 01, 9:00 a.m.

I will be creating a client extension for Doors Next Generation version 7.0.3. None of the DOORS Next Generation Client extension examples at https://jazz.net/wiki/bin/view/Main/RMExtensionsExamples703 are using React.js. Wanted to know if anyone has successfully made a client extension for DOORS Next Generation using React.js since I don't know if it works well with the OpenSocial specification that client extensions use.  

One answer



permanent link
Davyd Norris (2.9k217) | answered Oct 01, 9:09 p.m.
edited Oct 01, 10:19 p.m.
You can use whatever you like but if you want it to work as a widget then it's got to know to render inside the frame provided by the OpenSocial gadget.

There's nothing to stop you from setting up a basic gadget that wraps the API calls you need in interface functions, and then provides a button that opens a new tab with a full React application in it. I've done that before with Vue, but I typically use Reportable REST or OSLC calls in the Vue app rather than the Client API, because the Client API is all event driven and so the DNG window needs to be active.

The other thing I would say is that your widget/gadget is typically very basic, as it's going to live in a small rectangle on the side dashboard of DNG, so typically all you need is some basic HTML and CSS. Using React to build the widget content would be massive overkill

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.