Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

HISTORY

Gets a revision history for rows in a revision tracked table.

Syntax

Parameters

TABLE (required)
Name of the tracked table.

LIST (required)
List containing the returned results.

ASSET (optional)
Value of the primary key for the row whose history to retrieve.

VERSION (optional)
Version number.

LOCKER (optional)
Filter rows returned based on a user who has rows locked. If the current user does not have rtaudit privileges, you must specify a value for LOCKER, CREATOR, or both. If you specify only LOCKER, the value must be the current users name; otherwise, no data is returned.

CREATOR (optional)
Filter rows returned based on the user who created the row. If the current user does not have rtaudit privileges, you must specify a value for LOCKER, CREATOR, or both. If you specify only CREATOR, the value must be the current users name; otherwise, no data is returned.

ANNOTATION (optional)
Filter rows returned based on the annotation of a row.

Description

The HISTORY tag gets a revision history for rows in a revision tracked table.

To obtain history for all rows, the current user must have rtaudit privileges on the table. If the current user has read privileges on the table, only history on the revisions which the user has created or locked is returned.

errno

The possible values of errno include:

Value
Description
-1000
Command failure. Check the errdetail variable for the specific variable.

Example

This example assumes all HISTORY parameters are exposed on an HTML form. It first checks whether the parameters exist, clears any values from errno, then checks the history.

See Also

ICS.ARGUMENT
RENAMELIST

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005 by FatWire Software
All rights reserved.