on 04-01-2015 4:41 PM
Hi Experts,
In Oms backoffice, there is no way to export data from the List View widget to the list.csv file
How we can do that ?
Thanks
Houssem
Hi,
sorry, I'm not very into the oms 🙂 I guess that in this case the easiest would be to create your own custom action to do the export.
You may use org.zkoss.zhtml.Filedownload.save(csvContent, "text/comma-separated-values;charset=UTF-8", "list.csv") to write the file to the browser. The csv generation is rather straigtforward and you should be able to use the standard Java to get it.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Thank you for your answer.
I confirm that this functionnality is available in hybris 5.4.0, but it's not applicable in OMS perspective
I have used the same code as described in this follwing link : https://wiki.hybris.com/pages/viewpage.action?pageId=249496136
but CSV export does'nt work because listview used in OMS perspective is not the same as listview in other backoffice perspectives.
com.hybris.cockpitng.widgets.common.listview.controller.ListViewController
com.hybris.cockpitng.widgets.listview.ListViewController
That's why CSV export does'nt work and exported Columns and Data are always null when clic on CSV export button in OMS perspective.
Is there any way to run CSV export in OMS perspective ?
Thanks
Houssem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
since hybris 5.4.0 this is a functionality built-in to the backoffice. You can find details here.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.