Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

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

    Hi All,

    This is very urgent ...Please help.

    Add a 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.