Hello everyone!
Is there any way to get the address of uploading documents or images to the database table?
So you can send the link via sendGrid ..
Tks!
Att;
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Andreas,
Thanks for the attention, could help me a little more. Could you check, if possible, the code below and where can I integrate it with your code?
Hey
I just copied from another post in the forum and as you can see they console.log(uploadedFile.url) and that is the url the file / document got so use that.
$w("#uploadButton1").startUpload() .then( (uploadedFile) => { console.log("Upload successful. File is available here:"); console.log(uploadedFile.url); $w("#dataset1").setFieldValue("image1", uploadedFile.url); $w("#dataset1").save() .then( (item) => { console.log("Save successful"); let fieldValue = item.item1; } )