function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Harsh GupHarsh Gup 

Issue in dynamic aura:id

Hello Team,

I am building one lightning page where I'm displaying Partner Name (Accounts) based on the user search. 
So, the UI looks like it has Name of the Partner, Address and a button. The functionality of button is when the user clicks on that it will so some additional information of the partner like description, partner Certification etc.

So, now what is happening when I'm clicking on button it is showing additional information of all the partners (which are coming from the search result) but what my requirement is, the button is clicked for which partner , it should display the description of only that partner and rest all the result should go away.

I hope I could able to explain my question.

Thanks
Gaurav Sharma 472Gaurav Sharma 472
Assuming that button is placed under aura:iteration so it is displaying for all.

please try by creating 2 components.
one main component.
second to show each row of account with required fields and buttons and iterate over row component.