Execute UploadFileButton manually

Hello,

I have a PopupButton where I need to add an action to upload files. Is there a way to do this, perhabs by executing the UploadfileBtn manually?

Greetings
Andreas

Unfortunately, due to web browsers restrictions you may not trigger file upload dialog programmatically neither from Java nor JS. This is restricted and users must click on upload input to trigger dialog.

However one can try to insert FileUploadField right into PopupButton popup, still it is tricky.

Hello @jreznot,

thank you, for your answer. I try to insert the FileUploadField in the Popup.

Greetings
Andreas