Notifications

42 views

Description

When we need to send a message to an individual user in Slack or Microsoft Teams, we have to use Message content (messaging_content) of type = Buttons. The catch here is that fields "Script" and "Buttons" are mandatory i.e; we should definitely provide a value for "Buttons" to make use of Message Content. What if we do not want any buttons to be sent out in our messages? Let's check-out how we can do that!

Release or Environment

London and above

Cause

UI Policy: "Buttons" on "messaging_content" form is what making the fields "Script" and "Buttons" mandatory. Eventually making Message content(messaging_content) setup to definitely have a button selected.

Resolution

We need to remove any value added to "Buttons" field on the Message Content form, so that the Message sent out do not have any buttons displayed. For this we have two options:

  1. First option is quiet easy, just make the UI Policy: "Buttons" in-active. That said no longer fields "Script" and "Buttons" are mandatory. Then we can just remove any value given to "Buttons" field. OR
  2. Customize the UI Policy: "Buttons" such that "Buttons" field is not mandatory on Message Content form and as said in our earlier option just remove any value given to "Buttons" field.

Additional Information

Configure message content

Notifications in messaging applications

Article Information

Last Updated:2020-01-13 12:30:59
Published:2020-01-13