Newer Version Available

This content describes an older version of this product. View Latest

lightning:availableForChatterExtensionRenderer

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 is available 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.

For the full integration picture, see Integrate Your Custom Apps into the Chatter Publisher.

Note

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