Newer Version Available

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

apex:includeLightning

Includes the Lightning Components for Visualforce JavaScript library, lightning.out.js, from the correct Salesforce domain.

The Lightning Components for Visualforce JavaScript library loads from the org that the Visualforce page is in, so your Lightning Out app must exist in the same org as the Visualforce page.

Note

Attributes

Attribute Name Attribute Type Description Required? API Version Access
id String An identifier that allows the component to be referenced by other components in the page. 14.0 global
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