Skip to content

Instantly share code, notes, and snippets.

<design:component label="Custom Three Column Layout">
<flexipage:template>
<flexipage:region name="left" defaultWidth="SMALL" />
<flexipage:region name="center" defaultWidth="LARGE" />
<flexipage:region name="right" defaultWidth="SMALL" />
</flexipage:template>
</design:component>
<template>
<lightning-card title="My Available Contacts" variant="narrow" icon-name="standard:custom57":wq>
<div class="slds-m-around_medium">
<template for:each={contacts} for:item='contact'>
<lightning-layout vertical-align="center" key={contact.Id} class="slds-m-vertical_medium">
<lightning-layout-item>
<img src={contact.Picture__c} alt="Profile photo" />
</lightning-layout-item>
<lightning-layout-item padding="around-small">
<apex:page controller="LexSessionController">
Start{!$Api.Session_ID}End
</apex:page>
@anilsomasundaran
anilsomasundaran / currentLocation.html
Last active September 27, 2020 18:38
CurrentLocation Component
<template>
<lightning-card variant="Narrow" title="Current Location" icon-name="standard:account">
<p class="slds-p-horizontal_small">
<lightning-map map-markers={mapMarkers} zoom-level="10"></lightning-map>
</p>
</lightning-card>
</template>
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>EC_Event__c.EC_Is_Participant_Added__c</members>
<members>EC_Event__c.EC_Event_Completed__c</members>
<members>EC_Event__c.EC_Zoom_Meeting_URL__c</members>
<members>EC_Event__c.EC_Folder_Name__c</members>
<members>EC_Event__c.EC_Is_Presenter_Selected__c</members>
<members>EC_Event__c.EC_Type__c</members>
<members>EC_Event__c.EC_No_Of_Surveys__c</members>