Databases Reference
In-Depth Information
In the
Events
group, we can define when the alert is checked: after opening the
document (
On Open
), after reload (
On Post Reload
), or after data reduction
(
On Post Reduce
).
In the
Delay
input box, we can specify how many days to wait after an alert is
triggered before triggering the alert again. This is to avoid receiving the same alert
over and over.
The
Trigger level
drop-down menu offers another option to suspend the triggering
of alerts.
Always
is the default option and means that the alert will always be
triggered when the condition is met. By selecting
Message Changes
, the alert will
only be triggered when the value of the
Message
or
Mail Subject
changes. Of course,
this only works when using a calculated expression for these fields. By selecting
State Changes
, the alert will be triggered only once and will be suspended until the
alert condition is not met.
As we saw in our example, checking the
Show Popup
checkbox will show a popup
when the alert is triggered. We can customize the popup by checking
Use Custom
Pop-up
and clicking on
Pop-up Settings
.
In the
Mode
group, we can decide if an alert should be checked when a user uses the
document (
Interactive
, that is, opened in QlikView Desktop by a user) or when an
automated process, such as QlikView Publisher, uses the document (
Batch
).
In the
Description
input box, we can define a name or description for the alert. The
Message
input box contains the message that needs to be displayed when the alert is
triggered. Note that both of these input boxes can also contain dynamic expressions.
Besides showing a popup, an alert can also be sent out via an e-mail. We can define
the
Mail Subject
and the
Mail Recipients
fields.
In order to send mail from QlikView Desktop, an e-mail
account and server need to be defined under
Settings |
User Preferences | Mail
. When deploying the application
to QlikView Server, there are similar mail settings that need
to be entered into the QlikView Management Console.
Now that we've seen how alerts work, let's look at the conditional display and
calculation of objects.