Editable Lightning Datatable Component

I wanted a nicer way to display related contacts on an account page layout.  This editable lightning datatable custom component does the trick!  I love it and it’s working out really well for us. ContactDataTable Component <aura:component implements=”force:appHostable,flexipage:availableForAllPageTypes,force:hasRecordId” access=”global” controller=”ContactDataTableController”> <aura:attribute name=”data” type=”Object”/> <aura:attribute name=”columns” type=”List”/> <aura:attribute name=”recordId” type=”String”/> <!– This attribute will hold the… Read More

Omni-Channel Lightning Component

Salesforce Omni-Channel is great, but the one downside in our organization is that you have to manually set your status to available in order to receive chat or work requests. I am in the midst of creating a Background Utility Item which will auto log you into omni-channel. Omni-Channel Lightning Component <aura:component implements=”lightning:backgroundUtilityItem” access=”global” >… Read More

Work with the Lightning Map Component and Apex Inherited Sharing

This is the hands on challenge from the Platform Developer 1 Winter 19 Certification Maintenance. UtilityClass public inherited sharing class UtilityClass { public static List<sObject> queryObjects(String theObject, List<String> theFields, List<String> theFilters, String sortField, String sortOrder) { String theQuery = ‘SELECT ‘ + string.join(theFields, ‘,’); theQuery += ‘ FROM ‘ + theObject; boolean firstFilter = true;… Read More