Hi all,
i am developing on D365FO, i want to set file name of SSRS when export to PDF.
I tried to use "this.parmReportRun().parmReportContract().parmReportCaption("Caption in Runtimes");" in prePromptModifyContract() method of SrsReportRunController. But it was not worked.
After export to PDF, the file name of SSRS still be the label of Menu Item which call controller.
My code to set report caption:
protected void prePromptModifyContract()
{
super();
this.parmReportRun().parmReportContract().parmReportCaption("Caption in Runtimes");
}
Resutl is image below:
Please tell me what i can do to change the file name with code x++.
Thanks