Adding new columns with Custom Scripts
SummaryHow can I dynamically add columns to a report using custom scripts?
I'm wanting to create a report that utilises ROQL which i'm familiar enough with doing. My trouble is I want to create a dynamic number of columns to the report depending on the results of a query. The documentation states you can manipulate the columns of a report in the header code and I've managed to rename and remove columns but have not been successful in adding one.