Netscape MANAGEMENT SYSTEM 6.0 - CUSTOMIZATION Manual page 24

Table of Contents

Advertisement

JavaScript Used By All Interfaces
Variables Returned by the Base JavaScript (Continued)
Table 1-1
Variable
recordCount
recordSet
result
SERVER_ATTRS
serverAttrsCount
24
Netscape Certificate Management System Customization Guide • March 2002
Format/Type and Description
number
The number of record objects returned in this response. Usually this is
incremented for each record added to the recordSet array. For example,
recordCount = 0;
record.serialNumber = 1;
recordSet[recordCount++] = record;
record.serialNumber = 2;
recordSet[recordCount++] = record;
Array
This array contains any number of record objects. The base JavaScript will
also add recordSet to the result object, so use
result.recordSet[i]. variableName to access individual fields of a
given recordSet element.
Object
The primary container for all of the results returned in this template. The
fixed, header, and recordSet objects are added to the result object as the
last statements in the base JavaScript.
Array
Each element in this array is a name-value pair. These pairs represent variables
and their values that were added by modules internal to the CMS serever or
policy plug-ins. For example, if a policy plug-in added a variable called
requestStatus with a value of pending, the resulting JavaScript might be:
header.SERVER_ATTRS[0].name = "requestStatus";
header.SERVER_ATTRS[0].value = "pending";
number
The number of SERVER_ATTRS objects returned in this response.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Certificate management system 6.0

Table of Contents