Set up a report template
Here is a template for generating grading reports:
![](Files/ProgrammaticallyGenerateAReportFromATemplate.en/1.png)
Provide data for a report
Create an association that fills in the named slots in the template:
![](Files/ProgrammaticallyGenerateAReportFromATemplate.en/2.png)
Generate a report using the template
Use GenerateDocument to generate a report using the template:
![](Files/ProgrammaticallyGenerateAReportFromATemplate.en/3.png)
Set up a report template
Here is a template for generating grading reports:
![](Files/ProgrammaticallyGenerateAReportFromATemplate.en/4.png)
Provide data for a report
Create an association that fills in the named slots in the template:
![](Files/ProgrammaticallyGenerateAReportFromATemplate.en/5.png)
Generate a report using the template
Use GenerateDocument to generate a report using the template:
![](Files/ProgrammaticallyGenerateAReportFromATemplate.en/6.png)