getOutputFields()
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.
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"]);
}
}
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!