function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FilikinFilikin 

Display an lightning web component on a community record detail page

Hi,
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?