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.net

  • User 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.

  1. Open the Folio app → Launch

  2. Click “+” to create a new record

  3. Add emailTemplateChange as a marker tag

  4. Add a string tag called tpl

  5. 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.

  6. Once done, apply the above changes.

  7. 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.

  1. Open the Folio app → Launch

  2. Click “+” to create a new record

  3. Add the following marker tags: alarmTopic, default, emailTemplate, and emailTemplateChange

  4. 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.

  5. 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.