Like said in the title I need to generate pdf files with the wkhtmltopdf export function named from different fields of the grid itself. E.g. field_name field_date and so on.
I was messing around with the macro sc_set_pdf_name which works well if I’m defining a simple name like “report.pdf”. But I need to use variables or field names.
Trying
sc_set_pdf_name = "[global_variable] . '.pdf'";
or
sc_set_pdf_name = "{field_name}.pdf";
or variants of that
doesn’t bring the results I want (in OnScriptInit).
Can anybody help there?
Joe