You need to sign in to do that
Don't have an account?
TUSHAR_MATHUR
Where are the files uploaded by custom file uploader component
Hi all, I just seen that lightning:fileupload won't work on lightning out or standalone apps. i have seen a code for custom file upload using apex .
but i can't see the files where those files has been uploaded here is the link from where i get it to learn. please help me .
Thanks
Custom File Uploader (https://sfdcmonkey.com/2017/09/25/file-upload-lightning-component/)
but i can't see the files where those files has been uploaded here is the link from where i get it to learn. please help me .
Thanks
Custom File Uploader (https://sfdcmonkey.com/2017/09/25/file-upload-lightning-component/)
yes you are absolutely right .i already included that parent id as my custom objects record id. yes in account it will work, but not for other objects .
Work around to this is just goto your custom object and then just edits its page layout and then in related list just add notes and attachments and its done. Now you will see it in that record which is from custom object.
All Answers
Have you cheked through Files tab??
Please refer this link
https://help.salesforce.com/articleView?id=sf.collab_files_using.htm&type=5
If it helps please mark it as best answer.
Thanks!
But,I want to see those files which are uploaded by my custom file uploader component as referred above.
Thanks for your quick response.
In the link they have mentioned
"In the above lightning component on line number 10, we have a attribute called ‘parentId’ , in this attribute you have need to set the parent id, in in sample i am using the account id.
see code comments."
They have hardcoded Id of account. You just provide your accountId there.And after upload you will find you files in Notes and Attachement related list of that account. It worked for me.
If it helps please mark it as best answer.
Thanks!
yes you are absolutely right .i already included that parent id as my custom objects record id. yes in account it will work, but not for other objects .
Work around to this is just goto your custom object and then just edits its page layout and then in related list just add notes and attachments and its done. Now you will see it in that record which is from custom object.
I have done it (https://www.thesingularkitchen.com/) successfully