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

Deploy webservice to support widget extension in Doors next 7.0.3

I know you can deploy widget extensions to DOORS Next. These widget extensions are just JavaScript and HTML. Is it possible to deploy a backend webservice that is used by the widget extension in DOORS Next, or does the backend service have to be deployed in a separate external server? If backend webservices can be deployed in Doors Next, what languages does Doors Next support for backend webservices; is Python supported?

0 votes


Accepted answer

Permanent link
The actual widget must be XML/HTML, which can call any front end or back end. The most common is Javascript, which then runs in the browser.

If you need a web service then that, by definition, is a back end service - it can be any language you like but it needs to run on a back end somewhere, in a server of some kind. You need to provide that server in some way - ELM won't do that for you.

The Python/Flask app is an app, running on a machine somewhere - it's not something that just magically starts running as a back end service as part of the gadget code
Joshua Baxter selected this answer as the correct answer

1 vote


One other answer

Permanent link

The OpenSocial gadget / web service can be written in any language. For example, I've recently seen one that's a Python flask app.

1 vote

Comments

Do you know the URL for the Python flask app example? The reason I thought that only HTML/JavaScript could be deployed directly in Doors Next's open social container was due to this jazz.net documentation which detailed that backed web services would have to be deployed within an external server. And by deployed directly I mean that the webservice itself is deployed within DOORS Next's server.

The Flask app is not public.


Yes you need to host your OpenSocial gadgets somewhere. As I recall, if they are static html or JavaScript, you can host them in a HTTP server, and you could use the Liberty server that DOORS Next is using. In any case, it doesn't run "in the DOORS Next server".

If your gadget is a Flask app (or other executable app), then you need a (non-HTTP) server where you can run it.

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,941

Question asked: Nov 12 '24, 12:23 p.m.

Question was seen: 274 times

Last updated: Nov 12 '24, 4:34 p.m.

Confirmation Cancel Confirm