TSSSX Scripting Examples

The existing website and custom report files can be used as example reports. The website reports are located in the RRS Folder\Templates\Default, and the custom reports are located in the RRS Folder\Reports folder on your computer. The RRS Folder is the folder you installed the program to. The following example can be used as a template for creating new custom reports.

<%
/*
<RRS-INFO>
<description>
Enter your description here</description>

<copyright>Copyright (C) 2004</copyright>

<author>Your Name Here</author>

<date>11/2004</date>

<output>text/html</output>

</RRS-INFO>
*/
%>
<%
function myFunction(aVariable)
{
// do something here
return "Hello World.";
}
%>
<!--# include file="serverscripts.inc"-->
<html>
<head>
<title>DEFAULT TITLE</title>
<%= Project.StyleSheetLink %>
</head>
<body>
<p class="title">
DEFAULT TITLE
<%= myFunction() %>
</p>

<!--# include file="reportfooter.inc"-->

 

Please see the TSSSX Overview for information on different parts of this file.

 


Note: Some features described in this help file are only available in the Team Sports Scheduling System.