BIRT Exchange Forum: Creating a DataObject Programmatically - 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

Creating a DataObject Programmatically Rate Topic: -----

#1 User is offline   markhenkel Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 20-March 12


Posted 05 April 2012 - 11:57 AM

I am look for an example on how to create a Dataobject Programmatically, any bit of information is appreciated.

Thanks
Mark
0

#2 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 05 April 2012 - 02:42 PM

Hi Mark,
Chapter 24 in the following document has information on data object api that you can use to programmatically generate data objects.
http://www.birt-exch...tuate-bdpro.pdf
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
0

#3 User is offline   markhenkel Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 20-March 12


Posted 11 April 2012 - 12:10 PM

Thanks for the quick reply, here's my problem, my development environment is on win 32 xp, iServer is installed on a Linux box. I do not have iServer locally, I have no problems getting the jar files to my local machine for import, however I am wondering about Step 5 that states:

5 Add a BIRT_HOME static variable to the class. For the default installation of
iServer on a 32-bit Windows system, use the following line in the body of the
GenerateDataObject class body:
private static final String BIRT_HOME =
"C:/Program Files/Actuate11/iServer/Jar/BIRT/platform";

Do I need to somehow map a drive to the linux box and set the BIRT_HOME path to that? Or can I possibly copy that platform folder to my local machine & set the path to that?

Thanks again for the Help
Mark (newbie to BIRT)
0

#4 User is offline   averma Icon

  • Senior Member
  • Icon
  • View blog
  • Group: Administrators
  • Posts: 713
  • Joined: 08-August 07


Posted 11 April 2012 - 01:13 PM

You can copy the folder to your local machine and use that in your project.
Ashwini

Follow me on Twitter
Read my Blog BIRT Rocks!
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