Quantcast
Channel: SCN: Message List - Java SDK Application Development
Viewing all articles
Browse latest Browse all 2284

Problem while exporting to CSV

$
0
0

When i am trying to export BO report to CSV through JAVA code ,I am able generate CSV file.

But in the CSV file im getting data provider query name along with column header,that i dont want in my CSV file.

 

Please help me out in this .

 

code:

 

  CSVView csvView = doc.getDataProviders().getItem(0).getResultAsCSV(-1);

writeBytes(csvView.getContent().getBytes(), reportName +".csv", saveDir + requestId);

 

Please see the image i have attached.

 

In the file im getting "Group number(Unit purchase)" , I dont want the text inside bracket in my CSV.

 

Please suggest me on this.


Viewing all articles
Browse latest Browse all 2284

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>