3 Custom Fields For Push notifications
This topic provides information on Custom Fields For Push notifications.
Following Keys can be used to customize Push Notifications.
For more information on fields, refer to the field description table.
Table 3-1 Table 1
| KEY NAME | VALUE |
|---|---|
SOUND_IOS |
File name of custom sound file added to OBDX IOS App |
SOUND_ANDROID |
File name of custom sound file added to OBDX Android App |
LARGE_ICON_ANDROID |
URL of icon image to be displayed as large icon in Big Style Push Notification of OBDX Android App. |
LARGE_IMAGE_ANDROID |
URL of image to be displayed in Big Style Push Notification of OBDX Android App. |
These custom keys are to be added to the value of “CONTENT” column of
DIGX_EM_MESSAGE_TEMPLATE table.
If alerts are being created through front end UI, add following keys to “Notification Message” section.
Syntax for adding custom keys to Push Notification alert messages
[customfield1Name~customfield1Value|customfield2Name~customfield2Value]Example 1:
You have requested for #NoOfChequeBook# cheque book with #ChequeBookOption# leaves on Account #AccountNo#.
[SOUND_ANDROID~isntit|LARGE_IMAGE_ANDROID~http://static1.squarespace.com/static
/54ac6f9ae4b0cf1d82a4b59e/t/587f9e52cd0f68e84c5548fd/1484758653422/?format=300w|SOUND_IOS~chime.m4a]Example 2:
You have requested for #NoOfChequeBook# cheque book with #ChequeBookOption# leaves on Account #AccountNo#.
[SOUND_ANDROID~isntit|LARGE_ICON_ANDROID~http://static1.squarespace.com/static/54ac6f9ae4b0cf1d82a4b59e/t/
587f9e52cd0f68e84c5548fd/1484758653422/?format=300w|SOUND_IOS~chime.m4a]