Hi all,
My code below works fine when exporting to a CSV. I just need to figure out how to add headings to the columns, would anyone know how ?
ForAll(
Gallery4_4.AllItems,
Collect(
ExportCSVCol,
{
TradeNumber: Label34_9.Text,
FundName: Label35_17.Text,
TD: Label36_7.Text,
CCY: Label38_7.Text,
MarketPrice: Label39_7.Text,
AMT: Label37_14.Text,
RevisedAmt: Label37_15.Text,
Borrowers: Label33_7.Text,
CounterParties: Label40_7.Text,
TradeStatus: Label41_9.Text,
Comments1: Label41_10.Text
}
)
);
Set(
ExportCSVVar,
Concat(
ExportCSVCol,
TradeNumber & "," & FundName & "," & TD & "," & CCY & "," & MarketPrice & "," & AMT & "," & RevisedAmt & "," & Borrowers & "," & CounterParties & "," & TradeStatus & Char(10)
)
);
Set(
SuccessVar,
ExportCSVDemo.Run(
"CSVTradesFile",
ExportCSVVar
).completed
);
If(
SuccessVar = "true",
Launch("https://ofiz-my.sharepoint.com/:x:/g/personal/kiansean_lee_vistra_com/ER5_4KCLBfBFh8qyZo9nv-wB0ou4dCFf01WbvAVivLLO_Q?e=xNyPac&Download=1")
)
Thanks,
Conor