+ Start a Discussion

Display an lightning web component on a community record detail page

I have an LWC component that displays the location of a custom object - it works fine in lightning, but when I add it to a community page (having set the target and targetConfig), the record ID is not available to the component.

In the docs it says "Only drag-and-drop Lightning web components that appear in the Components panel are supported in Community Builder. To create custom theme layout or page layout components, create custom Aura components instead."
Does this mean that I have to rewrite the component in Aura?