You need to sign in to do that
Don't have an account?
Josephine But
LWC - display related contacts that associated with an account
Hi,
I am new in writing LWC. Just wondering how to display related contacts that associated with an account with datatable. ANy example is appreciated.
Thanks,
Jo
I am new in writing LWC. Just wondering how to display related contacts that associated with an account with datatable. ANy example is appreciated.
Thanks,
Jo
Hi Josephine,
You can easily display contacts related to account. Below is the reference code to that:
HTML file:
Javascript file: Apex Controller:I hope this will help you.
Thanks!
All Answers
Checke below examples that can help you to display related contacts that associated with an account with datatable.
https://developer.salesforce.com/forums/?id=9062I000000DLDKQA4
https://salesforcecodes.com/display-related-contacts-when-click-on-account-record-using-lightning-component/
Please mark as Best Answer if above information was helpful.
Thanks,
Hi Josephine,
You can easily display contacts related to account. Below is the reference code to that:
HTML file:
Javascript file: Apex Controller:I hope this will help you.
Thanks!