Advanced Customization > Business Logic Customization > Report Generation > ReportTemplate Data Source Customization > Solution > Sample Code > Packaged Samples
  
Packaged Samples
A demo ReportTemplate Data Source object, PartList, is available. It can be loaded using the following command:
wt.load.LoadFromFile -d
<WindchillHome>/loadXMLFiles/DemoReports.xml -CONT_PATH /
Note that if these objects were already loaded, exceptions may occur when running this command. The PartList ReportTemplate object is a simple query for Parts that returns two columns with part number information. It will be created at the Site context and will be available in Cognos after executing the update model operation.