Page 1 of 1

File Upload Widget - File name is blanks when upload hits

Posted: Mon Nov 23, 2020 9:36 am
by mkandhan
Hi All,

This is regarding file upload widget, the RPGLE program contains the DS named UPLOADINFO(shown as below) and attached to upload response (Rich UI only) in PROFOUND UI screen.

Code: Select all

D UPLOADINFO      DS                  Qualified
D  NumFiles                      3S 0
D  Directory                   256A
D  Files                       256A   Dim(20)
And set the property for file upload as below,
Screenshot1.PNG
Screenshot1.PNG (15.52 KiB) Viewed 777 times
I’m able to select the file as shown in the below,
Screenshot.PNG
Screenshot.PNG (20.88 KiB) Viewed 777 times
Whenever, I’m hitting Upload all selected, the control will go into the program and the values of UPLOADINFO.Files is always comes with blanks. However, the rest of the fields in DS contain values.

What made the UPLOADINFO.Files to be blanks always?