Page 1 of 1

Drag&Drop files from windows explorer

Posted: Wed Aug 29, 2018 11:32 pm
by dominique
Hi

We'd like to allow drag&drop files from Windows Explorer to a vl-webpage. Is that possible in vl-web (L14 sp2)?

Regards
Dominique

Re: Drag&Drop files from windows explorer

Posted: Thu Sep 06, 2018 2:38 pm
by dominique
Hi

Does somebody has any idea for this Problem?

Is it possible to integrate someting like this in lansa?
https://css-tricks.com/drag-and-drop-file-uploading/

Thanks for ideas

Re: Drag&Drop files from windows explorer

Posted: Thu Sep 06, 2018 3:34 pm
by MarkD
Yes, it is.

The new VLF version EPC142011 is due for release very soon. It ships with an example generic “Attachments” command handler that supports this type of dragging and dropping - https://docs.lansa.com/14/en/lansa048/i ... sa048_8405

This ships with all source code so you can easily deconstruct its parts for use in non-VLF contexts.

Re: Drag&Drop files from windows explorer

Posted: Thu Sep 06, 2018 5:19 pm
by dominique
hi Mark

Sounds good. Thanks!

Re: Drag&Drop files from windows explorer

Posted: Fri Sep 21, 2018 5:00 pm
by MarkD

Re: Drag&Drop files from windows explorer

Posted: Fri Nov 30, 2018 2:01 am
by dominique
Hi Mark

I was waiting for epc132030 ...
Do you have an example how to do this? (without lansa Framework)

thanks
Dominique

Re: Drag&Drop files from windows explorer

Posted: Fri Nov 30, 2018 2:19 am
by Pablo
Hi Dominique,

I will write it and post it here later today or tomorrow at the latest.

Regards,
Pablo

Re: Drag&Drop files from windows explorer

Posted: Fri Nov 30, 2018 4:38 pm
by dominique
Thanks Pablo

I really appreciate that!

Dominique

Re: Drag&Drop files from windows explorer

Posted: Sat Dec 01, 2018 1:24 am
by Pablo
Hi Dominique,

The attached DropFiles.zip gives you the starting point. It contains a quick export of:

DropMain - web page
DropContainer - reusable part, the container to drop the files
DropWidget - widget handling the drag/drop operation.

Drop a file < 10mb on the container and it's added to the list.
The VLF implementation is very sophisticated, it uses a database file to store/remember the documents by user, etc.
I encourage you to look at the VLF DF_DOC* components.

Hope this helps.
Pablo

Re: Drag&Drop files from windows explorer

Posted: Mon Dec 03, 2018 4:22 pm
by dominique
Hi Pablo,

Thanks a lot! That will help us

Dominique