cancel
Showing results for 
Search instead for 
Did you mean: 

Show "Save File" / "Open File" dialog

Former Member
0 Kudos

Hi,

is there a way to show an "Open File" dialog box in order to allow to upload a file, without using FileUpload. The reason is that I want to associate the action to one button "Import" and the FileUpload component doesn't suit well in my GUI.

The "Import" action will be:

1. Show "Open file" dialog

2. If user did not press Cancel and SelectedFile != null then read the file and import it to the context

Is this feasible?

Thank you,

Pietro

Accepted Solutions (1)

Accepted Solutions (1)

nikhil_bose
Active Contributor
0 Kudos

Hi Petro,

being a web application, dynpro has restriction on accessing the local machine's file system. The way out is using the FileUpload and FileDownload UI elements.

If you want the "cancel" option, can you try a pop-up window that serve this purpose ?

regards,

Nikhil

Former Member
0 Kudos

I see,

I was trying to avoid to clutter my GUI with the FileUpload component...

Thank you,

Pietro

Answers (0)