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
muneeswar umuneeswar u 

Account lightning component with file upload action

Hi all,

I need some clarification in developing create Account record lightning component with FileUpload action and uploaded files should get attached to Account record related Notes or Attachments.

I need to create the record and the uploaded file should get attached to that record.
Can someone help me with this requirement?

Thanks in advance.

Regards,
Muni

 
PriyaPriya (Salesforce Developers) 

Hi Muneeswar,

Kindly use the  lighting file upload tag and refer the below example :- 
https://developer.salesforce.com/docs/component-library/bundle/lightning:fileUpload/documentation

Please mark it as the Best Answer so that it can help others in the future.

Regards,

Priya Ranjan