Recently my group have updated from OpenLab CDS 2.3 to 2.7 and I notice a change in behaviour of the field "ReportName" and "ReportFolder".
In Ver 2.3:
ReportName: displays the ONLY the name of the report template (Name.rdl). Sometimes displays the path and name of report template but can be fixed by reloading template
ReportFolder: displays the file path of the template (/xxx/xxx/xxx)
In Ver 2.7:
ReportName: displays the the path and name of report template (/xxx/xxx/Name.rdl)
ReportFolder: displays nothing
This inevitably breaks my =String.Format("{0}[Rev.{1}]", Trim(Replace(ReportName, ReportFolder, ""), ReportTemplateRevision). I fixed it by replacing "ReportFolder" with the actual path to restore the output.
I would like to know if other people are experiencing similar problems or is there a better solution to this. Thank you.