Newer Version Available
lightning:availableForChatterExtensionRenderer (Pilot)
Use the lightning:availableForChatterExtensionRenderer interface to integrate your custom
apps into the Chatter publisher and place the custom app’s payload in the feed. This
interface has an effect only in Lightning communities.
The lightning:availableForChatterExtensionRenderer interface works with the lightning:availableForChatterExtensionComposer interface and the lightning:sendChatterExtensionPayload event to integrate your custom apps into the Chatter publisher and to render the app’s payload in the feed.
Fields
| Attribute Name | Type | Description | Required? |
|---|---|---|---|
| payload | Object | Payload data that was saved with the feed item is provided to the component that is implementing this interface | No |
| variant | String | An enum that can take one of two values: PREVIEW or RENDER. The selected value is provided to the component that is implementing this interface. PREVIEW specifies that the attachment is used as a preview in the publisher. RENDER specifies that the attachment is rendered with the feed item | No |