User guide

eWON 500-2001-4001-4002 User Guide - User defined Web site
eWON 500®2001®4001®4002® Version 4_3_0 - User Guide - 10/5/05 - ©ACT'L sa - Page 189
10.4.1.2 Acknowledge Tags alarms
The same FORM can be used to acknowledge a Tag alarm; the syntax is exactly the same as for Tag update, the only difference if for the content
of the TagValue.
For Tag alarm acknowledgement, the TagValue field will contain the keyword "ack" optionally followed by the ",UserName" who will be logged in
alarm history.
Example:
This example shows a hidden field used to request the acknowledgement of the Tag by the Admin user ("adm"):
Would yield to the same result because the default user is the Administrator (if none is specified for acknowledgement).
10.4.2 Produce an export data block
Using a <%#ParamSSI,xxx>, it is possible to insert an export data in a page. But sometimes what is needed is a hyperlink to an exported block,
for example:
• Hyperlink to the event file
• Hyperlink to a Real time graph picture (will appear as a picture in the page).
Inserting a picture in a page is not possible with the <%#ParamSSI,xxx>, because the binary content of the picture would be included in the page.
A picture in a page is an hyperlink to the file of that picture. Instead of pointing to a file, we can point to a FORM that provides the picture data.
The syntax for the export form hyperlink source is the following:
SourceURL
"/rcgi.bin/ParamForm?AST_Param=XXXXXXXXX"
(ParamForm is case sensitive).
Where XXXXXXXXX is the Export Block Descriptor (Please refer to chapter “Export Block Descriptor” on page 192). The URL source can be
used anywhere an URL is required, the MIME type of the data returned will match the actual type: PNG, HTML or PLAIN TEXT.
Examples:
• Real time graph hyperlink
• Hyperlink to a text file containing real time data
<input type="hidden" name="TagValue" value="ack,adm">
<input type="hidden" name="TagValue" value="ack">
<img src="/rcgi.bin/ParamForm?AST_Param=$$dtRL$ftG$tnPressure"><br>
<a href="/rcgi.bin/ParamForm?AST_Param=$$dtRL$tnPressure$st_s20$ftT" > Upload Text file</a><br>