Newer Version Available

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

Create Components for Lightning for Outlook (Beta)

Create custom Lightning components that are available for drag-and-drop in the Email Application Pane for Lightning for Outlook.

To add a component to email application panes in Lightning for Outlook, implement the clients:availableForMailAppAppPage interface.

To allow the component access to email or calendar events, implement the clients:hasItemContext interface.

The clients:hasItemContext interface adds attributes to your component that it can use to implement record- or context-specific logic. The attributes included are:
  • The source attribute, which indicates the email or appointment source. Possible values include email and event.
    1<aura:attribute name="source" type="String" />
  • The people attribute indicates recipients’ email addresses on the current email or appointment.
    1<aura:attribute name="people" type="Object" />
  • The subject indicates the current record.
    1<aura:attribute name="subject" type="String" />
Lightning for Outlook doesn’t support the following events:
  • force:navigateToList
  • force:navigateToRelatedList
  • force:navigateToObjectHome
  • force:refreshView

To ensure that custom components appear correctly in Lightning for Outlook, enable them to adjust to variable widths.

Note