Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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.
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