Best practice forum (Archived)

Write new data sources for report builder.

 
Nurhaisyam Satar
Write new data sources for report builder.
by Nurhaisyam Satar - Tuesday, 14 June 2011, 1:10 AM
 

Hi,

It is said in the F.A.Q that i can write data sources. How do i do that? which files/link/functions should i look into?


Simon Coggins
Re: Write new data sources for report builder.
by Simon Coggins - Tuesday, 14 June 2011, 1:54 AM
Group Totara

If you look at the files in /local/reportbuilder/rb_sources/ you will see the format for a report builder source. Each file in that directory defines one of the report builder sources, which can be used to create reports of a particular type.

Typically a new source would be added by a developer - if you're a coder I'm happy to share some developer documentation on writing sources (not complete but it covers the basics), and we're always willing to accept suitable sources back into core Totara.

Simon

Nurhaisyam Satar
Re: Write new data sources for report builder.
by Nurhaisyam Satar - Tuesday, 14 June 2011, 2:49 AM
 

Hi Simon,

If the developer documentation can be share, it would be great and appreciated.At least having a basic lead is better than having nothing at all.

Thanks.

Simon Coggins
Re: Write new data sources for report builder.
by Simon Coggins - Wednesday, 15 June 2011, 8:16 PM
Group Totara

Hi Hazmy,

Currently the developer docs are on a private wiki, but I've copied the contents of the reprot builder docs into the attached text file.

Simon

John Roughley
Re: Write new data sources for report builder.
by John Roughley - Thursday, 16 June 2011, 12:31 AM
 
I've attached a MS Word version of the reports documentation.