chatter:follow

Renders a button for a user to follow or unfollow a Chatter record. Note that Chatter components are unavailable for Visualforce pages on Force.com sites. Ext JS versions less than 3 should not be included on pages that use this component.

Attributes

Attribute Name Attribute Type Description Required? API Version Access
entityId id Entity ID of the record for which to display the follow or unfollow button; for example, Contact.Id Yes 20.0
id String An identifier that allows the component to be referenced by other components in the page. 14.0 global
onComplete String The JavaScript function to call after the follow/unfollow event completes 20.0
rendered Boolean A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. 14.0 global
reRender Object The ID of one or more components that are redrawn when the result of the action method returns to the client. This value can be a single ID, a comma-separated list of IDs, or a merge field expression for a list or collection of IDs. 20.0