skip to main content
RiverWare Policy Language (RPL) : RPL External Documentation
RiverWare Policy Language (RPL)
RPL External Documentation
This document describes the RiverWare capability to link a RPL set to documentation that resides in a separate file viewable by commonly used viewing and editing programs.
The RiverWare RPL editors support an optional multiple-line text description, displayed in a plain-text editor box and is stored in the RPL set file. Often this text description is not sufficient to adequately describe a complicated rule or policy set. The purpose of a link to external documentation is to allow the user to develop more detailed documentation that will reside in a separate application like MS Word, PDF, or an HTML file. From the RPL editors, the user can click to go to the documentation file.
Note:  The external documentation support described in this document is distinct from this description text value.
A RPL set consists of rules (or user-defined accounting methods) and functions organized into groups. In this document, the term RPL object refers generically to a RPL set component of any sort, i.e., to the Set, Policy or Utility Group, Function, Rule, or Method.
Overview
The following is an overview of the capabilities:
• From a RPL dialog, the user is able to easily access external documentation for the RPL object associated with that dialog.
• The four supported types of documents are as follows:
– HTML,
– MS Word,
– PDF, and
– plain Text
• The user is able to specify the applications for both viewing and editing each type of document
• The following modes of access are provided:
– Edit. The user can view, create, and change the contents of the document.
– View. The user can view but not change the contents of the document.
• The granularity of the documentation is flexible. Users can associate a separate document with each RPL object within a RPL set or they can document an entire RPL set with a single document.
• When using HTML, the application can open to the most relevant portion of the document. This applies in the following circumstances:
– There is more than one RPL object described in the associated document, e.g., the documentation is a single file describing the entire ruleset, and,
– The user is using standard named anchors within the documentation to describe the sections that pertain to each RPL objects.
• The user can create an HTML template of the RPL set that contains the description field for each object. The user can then expand the documentation using an HTML editor.
The following sections describe the external document link feature. Configuration of this feature is done with the following process:
1. The user must specify the application to be used to edit and/or view one or more types of files;
2. The user specifies how the document is structured by associating RPL objects with external files.
Revised: 11/11/2019