Activity Forums Salesforce® Discussions How to show a datatable of contacts and opportunites related to an account LWC?

  • How to show a datatable of contacts and opportunites related to an account LWC?

    Posted by inbox on February 2, 2022 at 4:12 pm

    There will be an input field,where you put your account name and based on that account name you need to find all the related contacts and opportunites for that particular account and you need to display it in LWC i.e in a data-table.

    Can we achieve this with datatable or treegrid?
    Also, do we go with nested soql query with one method and another method with accountId parameter? This works with treegrid.

    Any suggestions guys.

    vishakha replied 2 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos