Salesforce Lightning Component to Display Contacts Related to particular Account public with sharing class AjinkyaTestLightningAccController. { @AuraEnabled. public static list<Contact> getRelatedList(Id recordId) { List<Contact> Conlist = [Select id, name,firstname,lastname from Contact where AccountId=: recordId ];
public with sharing class AjinkyaTestLightningAccController.
{
@AuraEnabled.
public static list<Contact> getRelatedList(Id recordId)
{
List<Contact> Conlist = [Select id, name,firstname,lastname from Contact where AccountId=: recordId ];
Regards
GTA 4 Apk (https://www.gtabeast.com/gta-4-apk)