Hi
I am trying to save a webi report from infostore to a disk (ex:c\crystalreport.pdf), using the following statement
It works fine, if i give the physical path, but how can i get it working without hard coding the path, as i don't know where the reports existing.
Hope some one can help me to solve this.
I am trying the above one in csharp, so any help will be very much appreciated.
Thanks
I am trying to save a webi report from infostore to a disk (ex:c\crystalreport.pdf), using the following statement
Code:
eportDocument crReportDocument = new ReportDocument();
crReportDocument.Load(source_path_to_report);
//Export the report to disk.
crReportDocument.ExportToDisk(ExportFormatType.PortableDocFormat, destination_path);
It works fine, if i give the physical path, but how can i get it working without hard coding the path, as i don't know where the reports existing.
Hope some one can help me to solve this.
I am trying the above one in csharp, so any help will be very much appreciated.
Thanks