Hi all,
Im working in Traditional web and i cant seem to upload a word file. i've used the upload widget but i cant seem to upload it. I can select it, but i dont got an option to put the document in a variable in traditional web so i cant save it. Does someone know how to do this? I cant find a proper explanation. There is for reactive but not for web.
Thanks in advance!
Hi,Please see the OML attached. Upload widget does allow uploading any file type. Hope it helps.
Thank you, this worked!
Hi! Can you share your oml here or screen shot of your acction.Thank you!
Here i got the upload in my form, and i thought i could just put the uploaded document in a variable, but i only see style classes, display and destination as options. And then in my table i wanted to try get the document and thats it. But it seems to be much more complicated then i thought. (Im new to outsystems)
In order to save the uploaded file , you need to fetch the file using the content of the upload widget.To do that, in your Save button you can assign the file to variable :
Thank you, i've tried it but it didn't fill the variables. I debugged it and i see that the variables stays empty. Do you know why?
Are you using ajax submit in your button right now?
Can you try to change it to Submit only and see if it works.
Unfortunately it doesnt work, with submit and ajax submit
Can you share your OML file so we can check it further ?Thankyou
Sorry for my late reaction here it is
Hi Faissal ,I've cheked your file and the button to trigger the save is set to Ajax submit.May you set it to Submit and try it again?
Thanks
Hi Rijan,
Thankyou for your reply. Unfortunately that didnt help :(
Does someone have a solution for this?