Notification Keywords in Email and IM
The body of an email or IM may contain reserved words in a special syntax of the form ${KEYWORD}. These key words will be replaced with values from the social contact. Keywords are listed here in uppercase, but they are case-insensitive.
The currently defined keywords are:
- SC_AUTHOR—this keyword is replaced with the social contact author.
- SC_CREATED_DATE—this keyword is replaced with the social contact created date.
- SC_DESCRIPTION—this keyword is replaced with the social contact description.
- SC_PUBLISHED_DATE—this keyword is replaced with the social contact published date.
- SC_SCREEN_URL—this keyword is replaced with the URL (a live link).
- SC_SOURCE_TYPE—this keyword is replaced with the social contact source type.
- SC_TAGS—this keyword is replaced with the social contact tags.
- SC_TITLE—this keyword is replaced with the social contact title.
- SC_TAGS—this keyword is replaced with the social contact tags.
- SC_EXTENSION_FIELD.<fieldname>—An extension field is additional data for the social contact. You can add a maximum of 100 extension fields, up to one megabyte of information. Like the keyword, the fieldname extension must also be enter in all upper case letters.
- SC_EXTENSION_FIELDS—Returns all extension fields for the social contact. They appear in the body in alphabetical order by name in the format Name: Value. If no value was defined, you see Name: (—). If there are no extension fields, the variable is removed from the message body.
For example, if the Body is set to:
- The author of this Social Contact is: ${SC_AUTHOR}.
- The message contents are as follows: ${SC_DESCRIPTION}.
Then the notification message body would contain:
If the body is set empty (null or blank), then the notification message will contain the SC_SCREEN_URL value by default.
Email messages are sent in HTML format and the body contents in the notification rule may contain user entered HTML markup.
IM messages are in text format, not HTML.