Skip to Content
author's profile photo
Former Member

URGENT : Is it possible setting the mimetype for UploadUIElement

Hello,

I have developed an application in web Dynpro which has an FileUpload UI element.

I want when the user clicks on the browse button for selecting any file to the uploaded, the file type in the pop up window is "All Files" by default.

I want it to be only "XML Type" by default such that the user is prevented from selecting any other file.

I have tried setting the mimetype but it is not working.

Kindly help me with this as its very urgent

Thanking You,

Vishal Doshi.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 03, 2005 at 05:45 AM

    Hi All,

    This is very urgent ...Please help.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello vishal,

      As far as I know it is not possible to filter by file type as you would like to.

      If you want to avoid uploading other kind of files, you should check file extension before uploading or file content on server side.

      Regards.