The following section describes how to work with the editor of queries when adding a new query or editing an existing one. Queries are used in the Operation Mode to search the system’s data for instances of some business object or business object group that match some condition(s). Queries can be run by the user or used by FIND
, PICK FROM
, EXEC SP
, EXEC_SQL
or DISPLAY
actions of the Rule Language. See also Configuring Queries.
The editor of queries can be started as described in the Working with Configuration Elements section. It contains 2 tabs – the Standard View and the Textual View. The tabs represent different ways of specifying a query.
FIND
, EXEC SP
or EXEC_SQL
actions of the Rule Language. See Specifying Query Using Textual View.
The preview of how the query will look like in the browser is displayed underneath the query editor. Any changes you make to the query are immediately reflected in the preview. You can turn embedded preview on or off by clicking on the icon in the toolbar above the query editor. The settings of the preview (such as the theme used and font size) can be specified by clicking on the
icon. To see query preview in the standalone browser click on the
icon.
To apply a particular presentation style to a query, select the I con in the toolbar. For more details about styles see Form and Grid Styles section.