cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Browse desktop using button for file upload

Browse desktop using button for file upload

Hi,

I am using file upload widget which has inbuilt browse option for uploading and using csv parser for  csv file upload right now.

But I am not able to customize that widget. So I have put  button named browse and a textbox to display url. Here how can I browse the desktop using a button and choose a file? 

 

Please provide some guidance.

Thanks,

V Shalini.

1 REPLY

Re: Browse desktop using button for file upload

Hi--

 

You can use the ACL function file_selector() to show a modal file selector dialog. The return value is the path selected by the user, or an empty string if the user cancels. If you are setting this up with a button in a XUI dialog, you can invoke this using Acl.eval() in your JS script code.

 

--Clay