Automatic upload from a view

Hi all, can someone explain me how to open the window for choose a file to upload, directly when i go in a specific view…is there a way to do this?
i tried submitUpload() and startUpload() but no one works…
thanks in advance. :slight_smile: