Plaintext Alarms
Below is how to set up alarm notifications as plaintext. Setting this up will apply for both the email and Multimedia Message Service (MMS) notifications. This is mostly used by Verizon carrier users because Verizon doesn’t handle the HTML properties properly with MMS.
Prerequisites:
SMTP email settings configured
User with valid email/phone number address
-Verizon phone format is xxxxxxxxxx@vzwpix.com
-AT&T phone format is xxxxxxxxxx@txt.att.netUser subscribed to an alarm topic(s)
finHtmlReporting and html2pdf extensions enabled in the Settings app
Set up
First the user needs to create a “tpl” record with certain tags.
Open the Folio app → Launch
Click “+” to create a new record
Add “emailTemplateChange” as a marker tag
Add a string tag called “tpl”
Copy the below and paste as the value for the “tpl” string tag. When pasting click on the arrow drop down to open editor box and paste in there because doing it this way will create each line its own row. It makes it easier to edit as well.
Timestamp: {{this.timeFormatted}} Target: {{this.targetRef.dis}} Site: {{this.siteRef.dis}} {{#if this.floorRef}}Floor: {{this.floorRef.dis}}{{/if}} Equip: {{this.equipRef.dis}} Alarm Status: {{this.status}} Alarm Text: {{this.text}} Instructions: {{this.instructions}} Priority: {{this.priority}}
Note: This can be modified depending on how the user wants to format the body of the messages. For example, if the floor reference is not needed, line 4 can be removed.
Once done, apply the above changes.
After applying, the record would appear as a result in Folio. Click on the ‘i' icon and copy it’s id.
Second is to create a “immediateTemplateRef” record.
Open the Folio app → Launch
Click “+” to create a new record
Add the following marker tags: alarmTopic, default, emailTemplate, and emailTemplateChange
Then add a ref tag called “immediateTemplateRef” with value being the id of previous record you copied without the id==. If you forgot, you can query for the record using emailTemplateChange tag.
Once done, apply the changes.
That’s it, now when an email is triggered, the alarms notifications will come in as plaintext. The mobile message would look like something below that is readable now instead of having all the HTML syntax and not seeing the whole message.