Newer Version Available

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

Template Limitations

The Build Your Own (LWR) template doesn’t include the same features as Aura sites. Check out the current limitations before you begin creating your site.

Unsupported Features and Settings

The following items are unavailable.
  • Most of the default components and pages that you get with Aura templates, including object pages and record components
  • Most preconfigured standard pages, such as Knowledge, Account Management, and Contact Support, used when creating custom pages
  • The default Navigation Menu component, although you can build your own
  • Audiences and page variations
  • Progressive rendering
  • Out-of-the-box themes and theme management
  • Multilingual sites, including translatable component properties
  • Template, page, and theme export and Lightning Bolt Solutions
  • Template-level accessibility features, such as a skip link
  • App-level events that you get with Aura templates, although you can use CustomEvent
  • Some base components and features from the Lightning Component Library
  • Mobile and value providers such as $Browser
  • @salesforce/i18n and @salesforce/apexContinuation modules
  • Salesforce Community Page Optimizer
  • TrialForce template compatibility
  • Contributor configuration

Experience Workspaces Limitations

Only the Administration, Builder, Dashboards, and Guided Setup workspaces are available.

Experience Builder Limitations

  • In the toolbar, the Undo and Redo buttons and some Help options are unavailable.
  • The Theme panel is unavailable, so you can’t access branding properties, branding sets, the CSS editor, or default fonts. You also can’t change themes or theme settings. For alternative solutions, see Style Your LWR Site.
  • When in the Mobile view mode, the Mobile workspace editor is unavailable.
  • When working with components, hover actions and the action menu in the property editor are unavailable.
  • When you modify records while previewing your site in Experience Builder, you can sometimes see stale record data if you navigate to a previous page. To fix this issue, refresh your browser.

Lightning Locker Limitations

LWR sites use an upgraded version of the Lightning Locker library, which currently includes some limitations.
  • Scripts loaded through lightning/platformResourceLoader run in system mode outside of a Lightning Locker sandbox. As a result, the component loading the script doesn’t have access to the same global variable scope as the script itself, preventing it from accessing any global variable set by the script.

    Get around this restriction by implementing your own loadScript function. See an example within codeSamples/resourceLoader in the code sample files.

    Tip

  • You can’t use Chrome developer tools to debug JavaScript code that’s running in a Locker sandbox. Instead, use Firefox or Safari for debugging.
  • The await and async expressions aren’t supported. Instead, use promises.
  • The following properties are currently unsupported:
    • document.domain
    • document.location
    • shadowRoot.host
    • this.template.host
    • window.location
    • window.top

Privacy Compliance

Don’t include sensitive information or personal identifiable information (PPI) in user agent headers.