Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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

  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 it’s 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.

  • No labels