Salesforce Experience Cloud

Salesforce

How to Use different logos based on profile in Salesforce Community?

 1. Create a custom component for Theme layout.Component:<aura:component implements="forceCommunity:themeLayout" controller="UserInfoController">        <aura:attribute name="search" type="Aura.Component[]" required="false"/>    <aura:attribute name="profileMenu" type="Aura.Component[]" required="false"/>    <aura:attribute name="navBar" type="Aura.Component[]" required="false"/>    <aura:attribute name="footer" type="Aura.Component[]" />    <aura:attribute name="imgSrcVal" type="String"/>   ....

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 ....

Salesforce

Navigating to a Page in Lightning Community using Custom Lightning Component and pass list values

Create a Standard Page with the name "Sample": Sample code: Component1 cmp: <aura:component implements="forceCommunity:availableForAllPageTypes" access="global" > <aura:attribute name="Txt1" type="String" default=""/> <aura:attribute name="Txt2" type="String" default=""/> <div class="slds-box slds-theme_default"> This is component ....