• Create a Lightning Component via your developer console or through your IDE. Let’s say the name of your Lightning component is “Accordion.cmp” . It’s relevant controller and other helper classes will be created. Use the below-mentioned code in your Lightning component which will show the data in expand and collapse section which contains three sections  […]

    Read More

  • Display a preview of content document or salesforce files dynamically in salesforce lightning component using <lightning:fileCard> base component. A <lightning:fileCard> component displays a preview of a file (Image, Text, PDF…etc.). On desktops, clicking the file preview opens the SVG file preview player, enabling you to preview images, documents, and other files in the browser. The […]

    Read More