0

I have a Lightning component which I can add to any salesforce object.

As we have Related List Standard component in Lightning, how can I get that Related (Child) List of records in Lightning component?

For Eg: If I open an opportunity record, is there anyway to get Opportunity Products associated to this Opportunity in my Custom Lightning component added?

1
  • There is no way to use Standard lightning app-bulder components from your lightning component code. Maybe to show a list you can use the new lightning:datatable base component – Itai Shmida Oct 22 '17 at 8:55
1

Winter 18' has something called 'Related List Quick Links' standard component using which you can mouseover on specific related list and navigate to its record!

https://releasenotes.docs.salesforce.com/en-us/winter18/release-notes/rn_forcecom_lab_related_list_quick_links_comp.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.