BIRT Exchange Forum: Using Data Objects onDemand - 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

Using Data Objects onDemand How to reference the data object? Rate Topic: -----

#1 User is offline   Srividya Sharma Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 79
  • Joined: 25-November 10


Posted 24 March 2011 - 06:58 AM

Hi

I am trying to upload a data object and use it as a data source in my report design.

Can you guide me where to upload the data object, how to reference it?

For example, in my designer, I use the path data/testdata.datadesign as path in my report.

Then when I upload the file, where should I do it?
0

#2 User is offline   bhanley Icon

  • Senior Member
  • View blog
  • Group: Members
  • Posts: 599
  • Joined: 26-October 07


Posted 24 March 2011 - 07:02 AM

Using the folder structure from your designer inside the service should work fine. So if you have a folder called "data" that contains your data objects in the same directory as your report, simply create that folder inside your onDemand account and upload your data objects accordingly.

Good Luck!
0

#3 User is offline   srividya Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 10-January 11


Posted 30 March 2011 - 01:07 AM

Hi

I finally got it working.

If we give the path to the data object as, data/mydataobject.datadesign, then onDemand (servlet) looks for mydataobject.datadesign in the path /Resources/data/ which means that we need to place data objects also in Resources folder just like images.

I hope this helps others.
0

#4 User is offline   bhanley Icon

  • Senior Member
  • View blog
  • Group: Members
  • Posts: 599
  • Joined: 26-October 07


Posted 30 March 2011 - 01:08 PM

View Postsrividya, on 30 March 2011 - 01:07 AM, said:

Hi

I finally got it working.

If we give the path to the data object as, data/mydataobject.datadesign, then onDemand (servlet) looks for mydataobject.datadesign in the path /Resources/data/ which means that we need to place data objects also in Resources folder just like images.

I hope this helps others.


The Resources folder is a catch-all location that will always be searched when looking for content required for a report. Your Data Object was found there because you specified a relative path.

I am glad everything is working for you.
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