refreshObject() for Salesforce Classic

Notifies a page that uses a feed-based layout, that fields, the feed, or related list data has changed, and forces an update of these on the page. Use this method with Visualforce pages you want to use as custom publishers in Case Feed.

NameTypeDescription
objectIdstringThe record ID of the case object.
refreshFieldsbooleanIndicates that one or more fields on the case have changed.
refreshRelatedListsbooleanIndicates that one or more case-related lists have changed.
refreshFeedbooleanIndicates that the case feed has changed.
callbackfunctionJavaScript method executed when the API method call is completed.

This method is asynchronous. The response is returned in an object passed to a callback method. The response object contains the following fields.

NameTypeDescription
resultbooleantrue if the Case Feed page was successfully updated, false if it was not.