+ Start a Discussion
minciminci 

show file upload dialog - javascript

Hi all,

 

I am using a custom button.

I want to show user a file upload dialog to user when he clicks the custom button.

Did anyone have idea how to do it?

Tnx,

Avidev9Avidev9
minciminci

I didn't want to open a new visualforce page.

I just want to call upload file dialog from custom button javascript.

I don't know if it is the best idea.

In any case that is what I intend to do.

 

If you have a better suggestion I would like to hear.

 EmilK

Bullfrog84Bullfrog84
I want to do the same. My users dislike the appearnce of the inputfile component and so I want to "hide" that from the user and use the button to fire the event and use the inputfile to store the value.