You need to sign in to do that
Don't have an account?
RohanSharma8791
I want to create a list of account and contact sObject . Whenever I click on the desired object it will show me all the related records for the sObject
I want to create a list of account and contact sObject . Whenever I click on the desired object it will show me all the related records for the sObject
Firstly how do you want to acheive it? I mean via VF page or on Aura component ?
If you are looking via VF page then kindly use this sample code and modify it accordingly :-
VF page :- Controller :-
Also you can refer this below links to get more ideas :-
https://developer.salesforce.com/forums/?id=906F0000000BX9mIAG
Please mark it as best answer if this above answer helps you so that it can help others in future.
Thanks and Regards,
Priya Ranjan
Salesforce Support
Thanks for prompt reply .
Actually I want to create this in AURA component, and there needs to be a list of two sObject -"Account & Contact".
Whenever I click on Account object. It should show me account custom lookup.
and if I click on Contact object then it should show me contact custom lookup.