Best practice forum (Archived)

Write new data sources for report builder.

 
SatarNurhaisyam
Write new data sources for report builder.
SatarNurhaisyam 发表于 2011年06月14日 Tuesday 01:10
 

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?


CogginsSimon
Re: Write new data sources for report builder.
CogginsSimon 发表于 2011年06月14日 Tuesday 01:54
小组 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

SatarNurhaisyam
Re: Write new data sources for report builder.
SatarNurhaisyam 发表于 2011年06月14日 Tuesday 02:49
 

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.

CogginsSimon
Re: Write new data sources for report builder.
CogginsSimon 发表于 2011年06月15日 Wednesday 20:16
小组 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

RoughleyJohn
Re: Write new data sources for report builder.
RoughleyJohn 发表于 2011年06月16日 Thursday 00:31
 
I've attached a MS Word version of the reports documentation.