Problem with widget "input filename" in 5.0, button method (AJAX or SUBMIT?)

Problem with widget "input filename" in 5.0, button method (AJAX or SUBMIT?)

  
Hello.
I'm having a problem with widget "input filename" in version 5.0.
In the flow of a screen action I test the attribute "Filename" of the widget to check if it's empty ("").
When the method of the button that calls the screen action is AJAX the attribute "Filename" of the widget is empty ("") even though a file has been selected in the widget "input filename".
If the method of the button is SUBMIT it works ok.
This code appeared to be working in version 4.1 because it hasn't been changed since the upgrade from 4.1 to 5.0.

Can anyone confirm that in 5.0 the method of the button must be SUBMIT and not AJAX for it to work?

Thank you.
Hi Tiago,

Works fine on 4.1 because on 4.1 Outsystems "native" Ajax wasnt available...
For upload purpose you'll realy need a Submit (POST)...I didn't try on 5.1 but it's my guess...

Best Regards,
Rafael Pereira


In the meantime, for what I've verified, the method of the button must be SUBMIT, both in 4.1 and 5.0. AJAX won't work.