Plaintext Alarms
Plaintext Alarms
Below is how to set up alarm notifications in plaintext. Setting this up will apply for both the email and Multimedia Message Service (MMS) notifications. Verizon carrier users mostly use this because Verizon doesn’t handle the HTML properties 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 specific tags.
Open the Folio app → Launch
Click “+” to create a new record
Add
emailTemplateChange
as a marker tagAdd a string tag called
tpl
Copy the below and paste the
tpl
string tag value. When pasting, click on the arrow drop-down to open the editor box and paste it in because doing it this way will create each line its 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 its 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.