Salesforce Community Cloud

Salesforce

lightning-record-form LWC in Salesforce Community

Sample Code:LWC HTML:<template>    <div class="slds-box slds-theme_default">        <lightning-record-form record-id={recId}                            object-api-name={objectName}                            layout-type="Full"                            mode="view"                            columns="2"                            density="comfy"></lightning-record-form>    </div></template>LWC JavaScript:import { LightningElement, wire, track } from 'lwc';import { CurrentPageReference } from 'lightning/navigation';export default class RecordPageLWC ....