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
1
to specify a servlet event and2
to specify an email event.
ENABLED (optional)
- Specifies whether the query runs on enabled events or disabled events. Legal values are
true
to query only enabled events orfalse
to 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.QUERYEVENT
tag 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
errno
include:
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, 2016, Oracle and/or its affiliates. All rights reserved.