cancel
Showing results for 
Search instead for 
Did you mean: 

passing filename to saveAsCSVFile()

Former Member
0 Kudos

Hi,

I am using saveAsCSVFile() method to save the data from iGrid in CSV file format. But whenever saving, in filename part it is showing some random number like 93856247. is it possible to pass the file name to this method?. instead of this this random number i want to show the filename that i will pass. how to do this?

Regards,

Senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Senthil,

unfortunately the function saveAsCSVFile() accepts and returns no parameter. I guess the easiest way to save the grid contents is to write a small BLT which is called by a Xacute query. In the BLT you have full control on how and where you want to save the CSV.

Maybe you could also use one of the build-in MII stylesheets. Have you seen the "/XMII/Stylesheets/IllumRowsetCSV.xsl" sheet? Perhaps you can use it or adapt it to your needs.

Michael

Answers (0)