Home > Contents > Index >
ICS.QUERYEVENTS
Performs a query for a list of registered events.
Syntax
<ICS.QUERYEVENTS LIST="list name"
[NAME="event name pattern"] [TYPE="event type"] [ENABLED="is enabled"]/>Parameters
LIST (required)- Name of the output list.
NAME (optional)- Name of the event.
TYPE (optional)- Specifies if the event is a servlet event or an email event. Legal values are
1to specify a servlet event and2to specify an email event.
ENABLED (optional)- Specifies whether the query runs on enabled events or disabled events. Legal values are
trueto query only enabled events orfalseto query only disabled events.
Description
This tag queries Sites for a list of events that have been registered with using the APPEVENT and EMAILEVENT tags. The
ICS.QUERYEVENTtag returns a list with the following columns:
- Name
- Type
- Enabled
- Time
- Target (for application events)
- Recipient (for email events)
- Params (for application events)
- Filename (for email events)
Error Numbers
The possible values of
errnoinclude:
Value Description -203 Event error -10004 A required parameter is missing. -10010 Invalid parameter valueExample
The following example lists all events:
<ICS.QUERYEVENTS LIST="events" ENABLED="true"/> <LOOP LIST="events"> CSVAR NAME="events.name"/> <BR/> </LOOP>Release Introduced
This tag was introduced in Content Server release 4.0.See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.