A Maximo Scripting Solution to a Plain Text Problem
PeteHalbeisen 060001VQWA Comments (8) Visits (15614)
The purpose of this article is to present a technical solution using Maximo Automated Scripting to the problem of plain text white space content via email appearing flattened in the SR ticket Rich Text Editor (RTE).
Creating the Script
Navigate to: System Configuration > Platform Configuration > Automation Scripts then Select Action > Create > Script with Attribute Launch Point
Step 1: Create the attribute launch point as follows
Step 2: Import the script (or space will be provided for you to type this in during Step 3) and map the attribute to a variable to be used in the script.
Script imported in this example:
Note that the LD field will be processed non-interactively, that is, when the field is not populated via the user interface.
Verify the imported script (or type it in/make modifications). Syntax checking is performed upon create.
To activate the script, Select Action > Change Status > New Status: Active
Without the script
... an incoming plain text email appears flattened in the RTE despite the white space being present in the database field
Logging at point LDTEXT db field is written:
With the script
... the plain text white space is replaced with the HTML equivalent.