Siebel Tools Reference > Special Behavior Supported by Templates >

Favorites (Predefined Queries)


Configuration of the predefined query feature has configuration file aspects, SWE tag aspects, and menu/toolbar command aspects.

The SWE tag <swe:PDQbar> is used to implement PDQ functionality. It has no parameters and can be located anywhere in the application. The user selects the query to be executed. The only thing the template developer needs to explicitly provide besides the <swe:PDQBar> tag is the "Favorites" label to the left of it. Ideally, the Favorites label should be implemented as a control rather than HTML text, so that it will be translated for localized or multilingual applications.

The <swe:pdqbar> tag is not required to be in the view frame. The <swe:pdqbar> tag should be placed either in the view frame or the view bar frame in applications that use HTML frames.

Query Management Commands

Users add their named queries into the combo box by means of the query management commands available as invoke method calls through the base applet classes. These are made available to the user as menu options or toolbar buttons. The following commands are supported:

NOTE:  Siebel Systems does not recommend implementing an Edit button for the predefined query (PDQ) feature. To implement the Edit button you would need to have it call the Refine invoke method. However, there can be problems associated with implementing an Edit button in a multiview environment, in which there is no way to determine the active view.


 Siebel Tools Reference
 Published: 20 October 2003