You can create just the report you want with CourseMill's custom reports. Generate reports based on predefined database views, custom database queries, or external scripts.
Custom reports can be downloaded or saved for quick retrieval or for automatic scheduling in the Report Locker.
To generate a custom report based on a predefined database view:
Open the Reports side-tab and select Custom.
Click Add Custom Report. The Custom Report window opens.
Select the organization if you are a global administrator.
Select Database View in the Type field.
Select the unassigned database view from the View Name list.
Specify a description of the report in the Description field.
Click Save.
The results are displayed in the window. Click a column heading to re-sort the table.
To generate a report based on a custom database query:
Open the Reports side-tab and select Custom.
Click Add Custom Report. The Custom Report window opens.
Select the organization if you are a global administrator.
Select Database Query in the Type field.
Specify a description of the report in the Description field.
Enable the appropriate report selection options in the Allow Report Selection list.
|
The report selection fields are enabled if you include in the select fields the corresponding column keys or they are enabled as part of the conditional WHERE clause of the query. The Status option is enabled if you include either StudentCourse.Status or Sco.Lession_Status. The Dates option is enabled if you include any of the following: Student.LastLogin, StudentCourse.LastAccess, StudentCourse.CompletionDate, CourseSession.StartDate, or CourseSession.EndDate. |
Click Save.
The results are displayed in the window. Click a column heading to re-sort the table.
To generate a report based on an external database script, the script must return XML records based on the following passed parameters and in the following XML format:
Parameters |
Description |
---|---|
orgID |
Organization ID |
currID |
ID of the curriculum (configured in CourseMill) |
courseID |
ID of the course (configured in CourseMill) |
sessionID |
ID of the session (configured in CourseMill) |
scoID |
ID of the SCO (configured in CourseMill) |
status |
lesson_status or status (configured in CourseMill) |
startDate |
Beginning day of the report |
endDate |
Ending day of the report |
suborg0-n |
Suborgs |
start |
Starting record if pagination is available |
Response in XML format:
<reportlist>
<totalRecs>1</totalRecs>
<numRecs>1</numRecs>
<hdr0>StudentID<hdr0/>
<hdr1>StudentName<hdr1/>
<hdr2>LastLogin<hdr2/>
<report>
<col0>TestStudent</col0>
<col1>Lastname, FirstName</col1>
<col2></col2>
<report>
</reportlist>
|
CourseMill provides a sample callable script SampleCustomReport.jsp located in the root in your CourseMill.jsp installation. See the contents of this file for details. |
To generate a report based on an external script:
Open the Reports side-tab and select Custom.
Click Add Custom Report. The Custom Report window opens.
Select the organization if you are a global administrator.
Select Database Script in the Type field.
Specify a description of the report in the Description field.
Specify the address to the script in the Script URL.
Enable the appropriate report selection options in the Allow Report Selection list.
Click Save.
The results are displayed in the window. Click a column heading to re-sort the table.
Additional resources: Custom Reports Made Easy
Support | About ELB Learning
© ELB Learning 2022