Using Data Objects onDemand How to reference the data object?
#1
Posted 24 March 2011 - 06:58 AM
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?
#2
Posted 24 March 2011 - 07:02 AM
Good Luck!
#3
Posted 30 March 2011 - 01:07 AM
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.
#4
Posted 30 March 2011 - 01:08 PM
srividya, on 30 March 2011 - 01:07 AM, said:
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.







MultiQuote



