Skip to Content
0
Former Member
Apr 21, 2010 at 10:41 AM

filedownload file name

33 Views

When I download the file using filedownload ui element, the name of the file is not correct. it is different everytime like CA4WLWV.xls , CACX6BGL.xls etc.

I have put the code to determine the file name as below

String filename = wdContext.currentExcelName_downloadElement().getExcelName();

IWDResource resource = WDResourceFactory.createResource(b, filename, WDWebResourceType.XLS);

wdContext.currentContextElement().setResource_filedownload(resource);

this issue is not seen in one of the systems of client landscapes and in one it is seen

thanks

B

edit: This problem is not srver specific. it is in local system, ie. local PC. in some PCs it is seen. I have cleared browser cache but not luck

thanks

Edited by: B on Apr 21, 2010 4:21 PM