19.07.2014 Views

OneSight Administrator Guide

OneSight Administrator Guide

OneSight Administrator Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Report Templates Configuration File<br />

# as a runtime argument to reportTemplate.jsp. E.G.,<br />

#<br />

http://localhost:8080/reportTemplate.jsp?id=Report4&outp<br />

utType=TABLE<br />

# Also note the following JDBC connection parameters for<br />

# the SQL dataSourceValue, which are all required for a<br />

# SQL data source.<br />

# .jdbcDriver - The JDBC driver. E.G.,<br />

# "com.inet.tds.TdsDriver"<br />

# .jdbcConnectionUrl - The JDBC connection string.<br />

# E.G., jdbc:inetdae:frs0671:1433?database=Trunk<br />

# .user - The user name.<br />

# .password - The password.<br />

# .sql - The SQL query. Must be on a single line. Note<br />

# the query can have the ? mark character. This allows<br />

# the parameter substitution in the URL.<br />

# E.G.,<br />

#<br />

http://localhost:8080/reportTemplate.jsp?id=Report4&arg=<br />

57&arg=foo<br />

# --------------------------------------<br />

# Sample report using bar graph and CSV file as data<br />

# source<br />

Report1.title = My CSV Report<br />

Report1.visible=true<br />

Report1.template = stackedbarcolumn.pcxml<br />

Report1.datasourceName=csv<br />

Report1.datasourceValue=reportTemplates/data/medals.csv<br />

# Sample report using stacked bar graph and XML file as<br />

# data source<br />

Report2.title = My XML Report<br />

Report2.visible=false<br />

Report2.template = stackedbar.pcxml<br />

Report2.datasourceName=xml<br />

Report2.datasourceValue=reportTemplates/data/bball.xml<br />

Report2.width = 1024<br />

Report2.height = 768<br />

Chapter 14: Configuring Custom Reports 859

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!