Uploading a file to NAV without a dialog

Hi everyone,

I have upload a file to NAV 2013 without a dialog with the users (I am going to use it with a codeunit run through a job).

I looked at the functions UPLOADINTOSTREAM and UPLOAD and they both contain dialog parameters.

Instead of dialog, I have to get the path to the uploaded file using a setup page.

How can I accomplish that?

Put a field on setup page and store a filename with path in that field and call it everytime

Do you mean this?

http://mibuso.com/blogs/mohana/2011/02/20/file-export-in-rtc-with-%E2%80%9Ccommon-dialog-management%E2%80%9D/

Hi poppins,

Did you ever find a solution to your problem? If you did, would you mind sharing it with us and if any of the posted answers helped you on the way, then please verify them.

Thank you.