BIRT Exchange Forum: Displaying the Maximo Dataset URL - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Displaying the Maximo Dataset URL Rate Topic: -----

#1 User is offline   robbinma Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 26
  • Joined: 10-February 08


Posted 19 May 2012 - 01:49 PM

Hello,

I am trying to display the URL of the database that the report is running against.
I would like to be able to display the URL in a label so the developers can tell which DB the report is being run against.

I think it is available via a property and have tried various combinations but everything I have tried returns null.

These are the things I have tried:

logToDebugWindow(this.getDataSource().getName());
logToDebugWindow("url with prefix: "+this.getDataSource().getExtensionProperty("maximoDataSource.url"));
logToDebugWindow("url: "+this.getDataSource().getExtensionProperty("url"));
logToDebugWindow("URL: "+this.getDataSource().getExtensionProperty("URL"));
logToDebugWindow("odaUrl: "+this.getDataSource().getExtensionProperty("odaURL"));



Any help would be appreciated.

Thanks in advance,

Mark
0

#2 User is offline   mblock Icon

  • Expert Member
  • View blog
  • Group: Members
  • Posts: 213
  • Joined: 07-August 07


Posted 21 May 2012 - 03:10 PM

The issue is that Maximo hides the database URL via classes. So unless you ask IBM how to get the data source from their custom classes your only option is to read the mxreportdatasources.properties file.
0

#3 User is offline   robbinma Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 26
  • Joined: 10-February 08


Posted 26 May 2012 - 01:53 AM

View Postmblock, on 22 May 2012 - 12:10 AM, said:

The issue is that Maximo hides the database URL via classes. So unless you ask IBM how to get the data source from their custom classes your only option is to read the mxreportdatasources.properties file.


Thanks.
I'll talk to the relevant people here and see if I can raise a PMR to ask that.

There would be a lot of benefit in terms of ensuring reports are being run against the right data source.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users