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.
| Name | Type | Description |
|---|---|---|
objectId | string | The record ID of the case object. |
refreshFields | boolean | Indicates that one or more fields on the case have changed. |
refreshRelatedLists | boolean | Indicates that one or more case-related lists have changed. |
refreshFeed | boolean | Indicates that the case feed has changed. |
callback | function | JavaScript 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.
| Name | Type | Description |
|---|---|---|
result | boolean | true if the Case Feed page was successfully updated, false if it was not. |