Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This function returns an array of all output fields on the screen.

Example:

The code below finds all output fields that meet certain criteria and applies the deAbbreviate() function to them.

Code Block
javascript
javascript
var fields = getOutputFields();
for (var i = 0; i < fields.length; i++) {
  var field = fields[i];
  if (field.className == "A22" && get(field.id).length == 1) {
    deAbbreviate(field.id, ["A", "D", "I"], ["Active", "Deleted", "Inactive"]);
  }
}