so there is an Account[] which has Accounts and their related contacts. Can i get contacts details like this?: if not then how can i access contacts details, without adding one more aura iteration tag

<aura:iteration items="accounts" var="acc">
    <p>Contact Name:{!acc.Contacts.Name}</p>

You need one more iteration inside this which is <aura:iteration items="acc.Contacts" var="con"> {!con.Name} </aura:iteration>

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.