You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once file is uploaded, I use the ContentVersionId in the UploadFinished handler.
handleUploadFinished(event) {
const uploadedFiles = event.detail.files;
if (uploadedFiles.length > 0) {
const contentVersionId = uploadedFiles[0].contentVersionId;
I modified FileUploadImproved to fire an event to my parent component upon upload etc. to get ContentVersionId. etc. but I would rather not have to modify your code.
The uploaded file is visible in SF or as logged in user but still not publicly and not logged in for some reason I am yet to figure out. Any thoughts?
Thanks in advance
The text was updated successfully, but these errors were encountered:
dschueler
changed the title
FileUploadImproved - access to
FileUploadImproved - access to contentVersionId and an onuploadfinished handler
Sep 28, 2024
I am using embed FileUploadImproved in my custom component. My component currently uses
Once file is uploaded, I use the ContentVersionId in the UploadFinished handler.
handleUploadFinished(event) {
const uploadedFiles = event.detail.files;
if (uploadedFiles.length > 0) {
const contentVersionId = uploadedFiles[0].contentVersionId;
I modified FileUploadImproved to fire an event to my parent component upon upload etc. to get ContentVersionId. etc. but I would rather not have to modify your code.
The uploaded file is visible in SF or as logged in user but still not publicly and not logged in for some reason I am yet to figure out. Any thoughts?
Thanks in advance
The text was updated successfully, but these errors were encountered: