User Guide
Working with Template Variables and Search Parameters 201
Getting Results with Novell Web Services
103-000133-001
August 29, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Error Message Variables
The following table lists all available error message variables that can be used
to enhance the organization of the default error message template, or to create
new templates from scratch. For more information about how to implement
variables in a template (HTML), see Chapter 17, “Customizing Your Search
Solutions,” on page 185.
Table 13 Error Message Variables
$$URL URL of the result item.
$$URLContent The entire contents of the URL are placed into the template at this
location. The URL contents are not parsed to validate their data type,
formatting, or functionality. Only text/plain and text/html files are printed.
All other files are inserted into the print job as an error message.
Variable Name Description
$$BeginLoop End of the header section. Beginning of the repeating body section. This
section is repeatedly parsed until there are no further result items to
process.
$$Countervariable_number,
increment_number
Inserts the value of the specified var# counter into the search result page.
All counters initialize to zero. The optional second parameter specifies the
amount to increment or decrement the current value. A maximum of 10
counters is supported. For example:
$$Counter[1] = insert value of counter #1
$$Counter[1,1] = increment counter #1 by 1 and display the new value
$$Counter[5,-3] = decrement counter #5 by 3 and display the new value
$$ErrorNumber A numeric version of the error.
$$ErrorMessage A text version of the error. Generally quite terse.
$$ErrorDescription A longer version of the message. This might include additional error
details or problem resolution information.
$$EndLoop End of the repeating body section. Beginning of the footer section.
Variable Name Description