Newer Version Available

This content describes an older version of this product. View Latest

Announcement Input

An announcement displays in a designated location in the Salesforce UI until 11:59 p.m. on its expiration date, unless it’s deleted or replaced by another announcement.
Root XML tag
<announcement>
JSON example
1{   "body":
2      {
3         "messageSegments": [
4         {
5            "text": "Please install the updates for all iOS devices.",
6            "type": "Text"
7          }
8          ]
9      }
10   "expirationDate": "2014-02-22T00:00:00.000Z",
11}
Properties
Name Type Description Required or Optional Available Version
body Message Body Input Text of the announcement. Required 31.0
expirationDate Date The Salesforce UI displays an announcement until 11:59 p.m. on this date unless another announcement is posted first. The Salesforce UI ignores the time value in the expirationDate. However, you can use the time value to create your own display logic in your own UI. Required 31.0