Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Tiago Bernardo
Champion
0
Views
2
Comments
Problem with widget "input filename" in 5.0, button method (AJAX or SUBMIT?)
Question
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.
RafaOutSystems
MVP
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
Tiago Bernardo
Champion
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.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...