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

These attributes can be overridden by any push message attribute values that you create.

Procedure

  1. Navigate to System Notification > Push > Push Message Content.
  2. Select a content layout record or script record.
  3. In the Push Message Attribute Definition 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.

    See Push notification example for an example of a push attributes.