Migrate Interfaces
Implementing an Aura interface enables you to receive context data or to surface your custom component in different contexts, such as in the Lightning App Builder or Experience Builder.
To receive context data in a Lightning web component, import the corresponding module. To surface a component in different contexts, use the targets
metadata in your *.js-meta.xml
configuration file.
Aura interfaces that aren’t listed don’t currently have an equivalent in Lightning Web Components.
In *.js-meta.xml
:
Indicates that the component can be used in Lightning App Builder to add to email application panes for the Outlook and Gmail integrations. See Create Components for the Outlook and Gmail Integrations.
In *.js-meta.xml
:
Indicates that the component takes context information about an event when used with the Outlook and Gmail integrations. See Create Components for the Outlook and Gmail Integrations.
In *.js-meta.xml:
Indicates that the component takes context information about an email or calendar event when used with the Outlook and Gmail integrations. See Create Components for the Outlook and Gmail Integrations.
In *.js-meta.xml:
Indicates that the component is available for record pages, the utility bar, and any other type of pages. Specify each page type explicitly as a target. See Configure a Component for Lightning App Builder and Configure a Component for the Utility Bar.
Indicates that the component is available for record pages only.
In *.js-meta.xml:
Indicates that the component takes a record Id as an attribute. See Make a Component Aware of Its Record Context.
In *.js-meta.xml:
Indicates that the component takes the API name of the current record’s object type. See Make a Component Aware of Its Object Context.
In *.js-meta.xml:
Indicates that the component is a quick action. See Configure a Component for Quick Actions.
LWC quick actions are currently supported only on the record page.
In *.js-meta.xml:
Indicates that the component is a quick action with no header. See Configure a Component for Quick Actions.
LWC quick actions are currently supported only on the record page.
In *.js-meta.xml:
Indicates that the component can be used in Experience Builder. See Configure a Component for Experience Builder.
Indicates that the component accepts a PageReference. See Navigate to Pages, Records, and Lists.
In *.js-meta.xml:
Indicates that the component is directly addressable via URL with the pattern /lightning/cmp/componentName
. You can also navigate to the component using the standard__component
page reference type. See Navigate to Pages, Records, and Lists.