Difference between revisions of "Criteria Template"

From SmartWiki
Jump to: navigation, search
Line 5: Line 5:
 
'''Example:''' A simple report is built as follows that prompts the user for the first name of a contact when run:<br />
 
'''Example:''' A simple report is built as follows that prompts the user for the first name of a contact when run:<br />
 
[[Image:CriteriaTemplate-ReportBuilder.png|link=|400px]]<br />
 
[[Image:CriteriaTemplate-ReportBuilder.png|link=|400px]]<br />
The default prompt for the report will appear as follows when the report is run:<br />
+
The default prompt for the report will appear as follows:<br />
[[Image:CriteriaTemplate-DefaultPrompt.png|link=|250px]]<br />
+
[[Image:CriteriaTemplate-DefaultPrompt.png|link=|350px]]<br />
 +
Right click on the page and choose the option in your [[browser]] that will expose the page HTML source. Then scroll down to and copy the section that contains the criteria table: <br />
 +
[[Image:CriteriaTemplate-SourceTable.png|link=|450px]]<br />

Revision as of 12:34, 21 August 2013

The Criteria Template section on the Report Template tab of the Edit Report Page defines the criteria section of a custom report template containing the prompt(s) for report parameter(s) when report criteria are used.

The Criteria Template section accepts HTML code. When the Criteria Template is used, the report parameter prompt does not manifest as a pop-up when the report is run, but remains at the top of the page.

Example: A simple report is built as follows that prompts the user for the first name of a contact when run:
CriteriaTemplate-ReportBuilder.png
The default prompt for the report will appear as follows:
CriteriaTemplate-DefaultPrompt.png
Right click on the page and choose the option in your browser that will expose the page HTML source. Then scroll down to and copy the section that contains the criteria table:
CriteriaTemplate-SourceTable.png