Magulan Duraipandian

Salesforce

How to transfer tasks back to Lead after conversion in Salesforce?

Make sure the users have "View and Edit Converted Leads" permission. Check this for more information on this permission. https://www.infallibletechie.com/2018/10/profile-permission-to-view-and-edit.html Sample Code: Trigger: trigger LeadTrigger on Lead ( after update ) {          Map < Id, Id > mapOpptyIdLeadId = new Map < Id, Id >();              for ( Lead objLead : trigger.new  ) {           /*              Once the Lead is converted, getting the Converted Opportunity Id          */   ....

Salesforce

Collapsible Pane in Lightning Component Salesforce

Sample Code:Component: <aura:component implements="force:appHostable"> <aura:attribute name="activeSections" type="List" default="['a']" /> <aura:attribute name="activeSectionsMessage" type="String" default="" /> <div class="slds-box slds-theme_default"> <p>{! v.activeSectionsMessage }</p> <lightning:accordion allowMultipleSectionsOpen="true" onsectiontoggle="{! c.handleSectionToggle }" activeSectionName="{! v.activeSections }"> <lightning:accordionSection name="a" ....