VL Web multiple document download

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
davidbalansa
Posts: 92
Joined: Mon Feb 01, 2016 10:08 am

VL Web multiple document download

Post by davidbalansa »

Hi Group,

In the VL Web 'Start with a Template' code generator (Left Navigation for example), the application produced contains document upload and download functionality.

The download multiple documents functionality does not work. It only downloads one document in the selected list.

It looks like a bug. Has anyone else encountered this and got it to work?
Download screenshot .png
Download screenshot .png (44.79 KiB) Viewed 14252 times

Regards
David
adale
Posts: 210
Joined: Wed Apr 08, 2020 9:18 pm
Location: Poplarville, MS

Re: VL Web multiple document download

Post by adale »

I had made a copy of the xAttachment dialog to use in one of my VL web applications and noticed the same.
Looking into it, and I could be wrong, but I didn't see where the sample dialog had logic to build a collection of the selected items.
The multiple selection wasn't a need for us, so I just edited the icon hint to only refence "file" not "files".

I found a couple of examples of selecting multiple items from a list in these samples:
xDemoWebDragandDrop
xDemoWebDragandDropTree

I believe they would include the extra coding logic needed to define and build the collection for the selected items, then be able to download multiple items.
Arlyn Dale
Servias LLC
Post Reply