Message Boards
Download the uploaded excel/csv.
Shreya Tiwari, modified 4 Years ago.
Download the uploaded excel/csv.
New Member Posts: 6 Join Date: 1/29/20 Recent Posts
Hi,
I am new to liferay, and working on uploading downloading excel into portal. I have successfully implemented the functionality of allowing the user to upload an excel/csv using Apache POI. Now, i have to implement downloading the user uploaded excel file. Can someone guide me through this?
I am new to liferay, and working on uploading downloading excel into portal. I have successfully implemented the functionality of allowing the user to upload an excel/csv using Apache POI. Now, i have to implement downloading the user uploaded excel file. Can someone guide me through this?
Mohammed Yasin, modified 4 Years ago.
RE: Download the uploaded excel/csv.
Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi ,Are you saving the excel in Liferay ? and wnat to download that?
Shreya Tiwari, modified 4 Years ago.
RE: Download the uploaded excel/csv.
New Member Posts: 6 Join Date: 1/29/20 Recent Posts
Yes. I am saving the excel in db.
Mohammed Yasin, modified 4 Years ago.
RE: Download the uploaded excel/csv.
Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
You can use below Utility to get download link of file uploaded in Liferya DMS
DLUtil.getDownloadURL(fileEntry, fileVersion, themeDisplay, queryString)