3
 Followers
14
 Likes

True change warning when Ajax Submitting in Screen Action that ends in Download or Upload

Frontend
New

The Upload Widget and Download Statement only function when the Button or Link that triggers them is set to Submit. Setting it to Ajax Submit will result in a runtime error (for Upload) or downloading the ASPX file (for Download), both unwanted.

Therefore Service Studio / TrueChange should be able to detect when a Screen Action that has at least one end node being the Download Statement is called from an Ajax Submit, and if so gives a TrueChange warning.

Also, a Screen that has an Upload Widget calling a Screen Action that uses the Upload Widget in Expressions or Assignments etc. by a Button or Link that has Ajax Submit should give a TrueChange warning.

Additionally, TrueChange should not suggest setting a Submit to Ajax Submit when there are Ajax Refreshes inside the Screen Action, as it does currently, but instead suggest to remove the Ajax Refreshes in the cases listed above.

This will help novice OutSystems Developers, as problems with this regularly appear on the forums (e.g. here).

Created on 9 Jul
Comments (1)

Changed the category to Frontend


views
96
Followers
3