Discussion
CVS
CVS
US
CVS
Posted: May 5, 2015
Last activity: Oct 9, 2015
Last activity: 9 Oct 2015 18:20 EDT
Closed
Export format in Report Definition
Hello,
In Summary view we can have export format, but I don't see that anymore on Report Definition, how can we achieve this?
I have a numeric property and would like to present it as a text value in the exported Excel/PDF.
Thanks,
Pradeep
You can only achieve this by using a custom control. In the custom control's html you can add a check like so:
<pega:choose>
<pega:when test="param.exportmode='pdf'">
//HTML for PDF export
</pega:when>
<pega:otherwise>
//Normal HTML
</pega:otherwise>
</pega:choose>