You need to sign in to do that
Don't have an account?
balaji manikandan
how to display a table with showing case objects details like case number along with the attachment details in same table?
I want to display all the cases with have attachments in a table along with the File name and other file related information in lighting component
try below code
apex
cmp
controller
Mark as best answer if it helps you.
Thanks,
Ghanshyam Choudhari
Remove limit from the query and make sure that in cases you have attachments.
[select Id,casenumber,(Select Name From Attachments) from case ]
Thanks