You are not logged in.
Dear users of this forum,
we are pleased to inform you that we will be updating the software behind this forum in the near future.
Existing posts, users and categories will remain untouched.
Important:
We will keep you informed in the pinned thread.
Kind regards,
Your ReportServer Team
Liebe Nutzer dieses Forums,
wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.
Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!
Wichtig:
Wir halten euch im angepinnten Beitrag auf dem Laufenden!
Mit vielen Grüßen
Euer ReportServer Team
Pages: 1
hi
i am trying to execute a dynamic list report in a script in a template format, how should i specify that here?:
def xls = reportExec.execute(report, "EXCEL")
kind regards
Offline
Hi unsi_2,
as you can have more than one JXLS template in a dynamic list, you have to put the id of the template. You can of course check programmatically if the dynamic list has only one template, and if so, you can set this id automatically.
E.g.:
import import net.datenwerke.rs.tabletemplate.service.tabletemplate.config.RECTableTemplate
def templateId = 1234
/* Template configuration */
def templateConfig = new RECTableTemplate()
templateConfig.setTemplateId(templateId);
def compiledReport = reportExec.execute report, "TABLE_TEMPLATE", templateConfigRegards,
Eduardo
Offline
many thanks Eduardo.
i have come across to config.setSelectFormat(true); that make is easier by letting the user select the desired format.
Offline
Pages: 1