2 Replies Latest reply on Dec 1, 2016 6:28 AM by Ankit Gupta RSS
    gcakiroglu Newbie

    Columns order problem Data Export Extension

    Hi there,

    I use Data Export Extension with for excel and pdf exports but i can't order columns. I had found solution in here then i tried CSV Parser Functions. Yes, it worked just for newReportInfoTable but result is like attachment;

     

     

    How can i order columns when exporting?

    ..

    ..

    ..

    ..

    var params = {

        inputInfoTable: reportInfoTable,

        orderedFieldList: 'Period,AverageMilSpeed,AverageEntryCoilDiameter,AverageExitCoilDiameter,AverageExitWidth'

    };

     

    result: INFOTABLE

    var newReportInfoTable = Resources["CSVParserFunctions"].GetOrderedFieldOutput(params);

     

    var params = {

        infotable: newReportInfoTable

    };

     

    var result = me.ExportInfotableAsExcel(params);



    Thanks