how to use the upload file widget?

  

Hello,


I'm building a web application, and part of it needs to allow the user to upload/download a file.

For the upload i am using the "Upload file" found in "Rich Widgets". 

When i run the web application and try to upload a file i get the error in the image. I already know it means i have a null identifier somewhere, however, I cannot pinpoint it exactly.


Any help would be appreciated.

thank you in advance.


Solution

Hi Basma,

Have you tried debugging your program? It's important to pinpoint the exact statement the error is triggered, so you can review your logic for the problem.

I Box wrote:

hi Basma,

I found this link:

https://www.outsystems.com/forums/discussion/7918/upload-download-files/

regards,

IB

Thanks, this was very helpful! it's working now!


Kilian Hekhuis wrote:

Hi Basma,

Have you tried debugging your program? It's important to pinpoint the exact statement the error is triggered, so you can review your logic for the problem.

Yes i did, it was a null identifier that i was passing. It's fixed now!

Thanks!


Hi Basma,

Great to hear it works. Could you please mark I Box's answer as Solution? Thanks!