How to remove prefix "SC_" from the exported excel sheet

How to remove prefix “SC_” from the exported excel sheet,
Like this:sc_xlsx_20210308080224_969_chart_Maintenance.xlsx

Try this

2 Likes

Many thanks for response ,
It is run very good.
But how can put today date beside exported file name
Please check this line of code:
sc_set_export_name(“xls”,"Request Assets Recieve_ " & date(‘Ymd’));

It’s better not to create the filename in the function call itself, also in php you combine string with . not with &

$reportname = “RequestAssetsReceive_” . date(‘Ymd’) . “.xls”;
sc_set_export_name(“xls”,$reportname);

1 Like

It is wonderful.
Many thanks for your response,
I appreciate your help.