Create a push message attribute definition

Push message attribute definitions allow you to create reusable properties for push message content specification.

Before you begin

Role required: admin or push_admin

About this task

Use an attribute definition to specify a default push action script or string that you can then use in the push message content.

You can override these attributes by creating any push message attribute values.

Procedure

  1. Navigate to System Notification > Push > Push Message Content.
  2. Select a content record or script record.
  3. In the Push Message Attribute Definitions related list, click New.
  4. Fill out the fields on the form (see table).
  5. Click Submit.
    Push Message Attribute Definition form
    Table 1. Push Message Attribute Definition form fields
    Field Description
    Attribute Name Enter a descriptive name for the layout.
    Attribute Type Select the type of attribute:
    • Action: An action to take on the instance, as defined by a script.
    • String: An arbitrary string to send as part of the message content. The string can specify items like a button label in the message.
    Default Script Select the mobile action script that tells the instance what to do when it receives a response from the push notification. This option appears if you select Action for the Type.
    Default Value

    Specify an arbitrary string value to be placed in the attribute that is used by the message content. For example, the string could specify a button label. This option appears if you select String for the Type.

    For an example of push attributes, see Push notification example for a custom push app for an example of a push attributes.

What to do next

If you want to override default attribute definitions, see Create an attribute value or action for a push message.