It's all about the answers!

Ask a question

Can a BIRT report check for Eclipse v Web client

Bill Taylor (1441533) | asked Mar 19 '15, 4:52 a.m.
edited Mar 19 '15, 5:23 a.m.

I wish to generate a hyperlink to open a work item from a BIRT report..

In the Eclipse client, the following works fine (inside an "a" tag):


In a web client, I wish to open the work item in a new tab, by using:

target="_blank" href=""

However, this doesn't work in the Eclise client - it re-runs the report in a browser window!

Can I detect whether a report has been invoked from the Eclipse client or a web client?

Also, it would help if I could detect whether a report has been invoked from a widget.

Accepted answer

permanent link
Alanna Zito (1.3k3) | answered Mar 19 '15, 9:49 a.m.
Hi Bill,

You can check whether or not a report was invoked via the Eclipse client by using the following expression in your BIRT report:


If it returns true, then the report is being run from the Eclipse client; otherwise, it's from the web.

Unfortunately, I don't believe there's a way to tell if the report was invoked via a dashboard widget.
Bill Taylor selected this answer as the correct answer

Bill Taylor commented Mar 19 '15, 3:18 p.m.

So simple when you know :-) - many thanks for a prompt reply

Your answer

Register or to post your answer.