Applications Administration Guide > Presentations >

Using Conditions in Templates


You can add query conditions to a section or a component to specify the conditions under which the section or component will be used in the presentation. For example, if you have two executive summaries—one for deals of over $100,000 and another for smaller deals—you can use the condition field in each Executive Summary section to allow Siebel Presentations to insert the appropriate executive summary based on which condition is true.

Entering Criteria

You can enter query criteria in a section or component record's Condition field (such as [Revenue] > 100000). If the condition is TRUE, the section or component is included. If the condition is FALSE, the section of component is not included.

If you do not specify a condition, the section or component is always used.

You can create conditions for any field that relates to the business object of your presentation; use Opportunity fields for opportunity presentations, and Account fields for account presentations. If the definition of a condition needs to be based on fields from another business object, then you must add those fields to the Opportunity or Account business object through either a link or a join. The syntax for conditions is similar to the syntax for Siebel queries. For more information about the syntax of Siebel queries, see Fundamentals and Siebel Tools Reference.

Examples of Criteria

The following examples illustrate the syntax for conditions:

After you enter a condition, test it as a query on the view you are going to use it on. For example, the above example involving Revenue and Close Date can be tested as a query on the My Opportunities view. If the query returns the data you expect, the query is probably in the correct format for your condition field.


 Applications Administration Guide
 Published: 09 September 2004