You need to sign in to do that
Don't have an account?
Madhusudan Singh 15
Fileupload lightning controller not working
Hi All,
I am new to lightning and trying use file upload lightning components.
I used exact same code which is mentioned in salesforce website
https://developer.salesforce.com/docs/component-library/bundle/lightning:fileUpload/example
just replaced recordid to my account id
But it is not working.
Please help me on this
Thanks in Advance
I am new to lightning and trying use file upload lightning components.
I used exact same code which is mentioned in salesforce website
https://developer.salesforce.com/docs/component-library/bundle/lightning:fileUpload/example
just replaced recordid to my account id
But it is not working.
Please help me on this
Thanks in Advance
Please use below code it's tested my side:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
All Answers
I have tried the same piece of code and it is working fine for me.
Could you please let me know what exactly is the error message or the issue you are facing so that we can look into it and can help you accordingly.
It would be of great help if you can post the screenshots of what you have done so far which helps troubleshoot the issue further.
Happy to help further.
Thanks,
Nagendra
FileUpload.cmp
FileUploadController.js Created custom Application which is calling FileUpload component(using this to preview)
When I am previewing it is not giving alert.
Can you share working code for my reference
Please use below code it's tested my side:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh
https://salesforce.stackexchange.com/questions/224710/lightning-file-upload-component-event-not-firing