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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Browse desktop using button for file upload

svisveswaraiya
17-Peridot

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 1

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

Top Tags