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