file extension by drag&drop on media field

is there any way to grab the extension of a file dragged over a media type field?

It could be useful the path or the filename too, anythink able to “pass me” the extension.

thanks
Armando

I want to build a sort of “File Gateway”, where simply by dragging files over a media field my method (triggered by the onDataChange event) shold extract the dropped file extension.
In such a way (by the above extension) i will relate a mime type list table.

I know i can grab the file name-path-extension by a plugins.file.showFileOpenDialog, what i still don’t know is wheter my File (Whishes) Gateway could be succesfully used on a drag&drop environment.

So, here we are, what do you say:
simply (still) not possible; possible … to come; possible[1]; possible[2]; possible[3]; …

[1] what about RTFM?
[2] but better a day out fishing
[3] free space

At the moment you can’t find out the mime type if you drag. I know there are some drag enhancements planned for future versions of Servoy (read not in 2.2 but a bit later). I’d recommend filing this under feature requests. And as usual: if you have a solution that your customer is offering huge amounts for sales@servoy.com are the right people to contact!

thank you, Jan.

Armando