Hi, I am using ajax submit multiple file in my app and I can not submit file. Anyone can help me with this? Thank you.
Hi Chung,
Can you explain your issue in detail? Are you using the upload widget's upload button action as ajax submit?
Thanks,
Gowtham
Hi Gowtham,
Below is my workflow:
Can you help me create a sample application?
I am using outsystem 11.
Chung Lam
Hi Chung Lam,
As mentioned here, while using the Upload Widget you need to use method Submit.
HI Chung_Lam
You have to use a Submit action, but you can do something els to use a "Ajax refresh"
If you place the upload function in a Web block, you can use an Event action to tricker an ajax refresh action on your page.
I hope this will fix your problem.
File upload works only when the method is submit. But here is an idea - This is some thing slimier to "Erwin Edel"
I am attaching one oml for reference. There are two entities - 1. GeneralInfo 2. FileInformation
FileInformation entity keeps the information of the file uploaded and GeneralInfo holds the Fileinformation Identifier.
Now there is one webblock where file upload functionality is written and one event is fired after the uploading of the file which actually returns the FileInformationId and Filename.
Now in the main Webscreen this webblock is placed and the event is handled. So when you upload one file, you will get the File Id and name.
Save the from where u can see that the button method is "Ajax Submit".
Thanks
Sourav
I was able to build something on top of the Multiple File Upload extension so it worked with AJAX submits, and stores the file in the session. I'd like to make it available in the forge along with loads of other stuff, but I'm still negotiating with my boss.