Publisher.js API

Three events in the publisher.js API now support the Post and Social Post actions, so you can create custom console components that interact with these actions.

For more information on working with publisher.js, see “Creating Custom Console Components That Interact with Case Feed” in Customizing Case Feed with Code.

The following events have changed in API version 32.0.

publisher.selectAction
Supported values now include FeedItem.TextPost, the standard Chatter Post action, and SocialPostAPIName.SocialPost, the Social Post action.
publisher.setActionInputValues
targetFields are now available on FeedItem.TextPost and SocialPostAPIName.SocialPost.
invokeAction
Supported values now include FeedItem.TextPost, the standard Chatter Post action, and SocialPostAPIName.SocialPost, the Social Post action