Using HTML Template Files
To receive query results, you can use your own HTML template file. A template file is any HTML file with the marker <%insert_data_here%> to indicate where the query results should be inserted.
To use a template file with the SQL Server Web Assistant
-
Add an <%insert_data_here%> marker to your HTML template file and save the changes. HTML tables are supported.
-
Start the SQL Server Web Assistant.
-
In the File Options screen, type the full path and name of the HTML file to be generated.
-
Select the A Template File Called option.
-
Type the full path and name of your HTML template file.
If a template file is used, the options listed in the next section titled "Using SQL Server Web Assistant Formatting Options" do not apply.
-
To continue, choose the Next button. To exit, choose the Cancel button.
For more information on template files, see the sp_makewebtask @templatefile parameter description, later in this document.