Hello Syncfusion,
We developed quite a few SSRS report. Currently using C# and Microsoft.Reporting.WebForms to create the reports. All work fine until we want it to create PPT or PPTX files.
I read on stack overflow (a thread in year 2016) someone from Syncfusion suggested to use Syncfusion's report viewer. But that is part of ASP.NET MVC UI Controls Library.
We are using the Vue (Syncfusion Vue UI Components (Essential JS 2)). I am wondering if get the ppt or ppts file from our Vue application. We don't mind writing some c# serve code to create the file.
Thanks,
John
Hi Synchfusion support desk:
Anyone can reply this query? Thanks!
Jeff
Hi Synchfusion support desk:
It would be great if we can set up a quick call to discuss this and other pending issues. John and I are available between 8am - 9pm (Chicago time).
Jeff
Hi Gokul,
We don't know what component is.
We are looking for a component that can read rdl / rdlc (report definition) and generator power point output.
Thanks,
john
|
Report Viewer:
| |
|
Report Writer:
|
Hello,
I followed link you provided and downloaded BoldReports.Web.
I am able to use the report writer to create report of different formats (pdf, xlsx, docx, html) but PowerPoint format.
string filename = null;
ReportDataSourceCollection dataSources = GetDataSources();
ReportWriter writer = new ReportWriter(reportPath, dataSources);
filename = Path.Combine(outputfolder, "countries.xlsx");
writer.Save(filename, WriterFormat.Excel);
filename = Path.Combine(outputfolder, "countries.pdf");
writer.Save(filename, WriterFormat.PDF);
filename = Path.Combine(outputfolder, "countries.docx");
writer.Save(filename, WriterFormat.Word);
filename = Path.Combine(outputfolder, "countries.html");
writer.Save(filename, WriterFormat.HTML);
// ******* ONLY below create empty file.
filename = Path.Combine(outputfolder, "countries.ppt");
writer.Save(filename, WriterFormat.PPT);
The complete project is attached.
Thanks,
John
My test sample is attached.
I removed the package as the zip got too big to upload.
Hi John,
Thanks for the update.
We validated the reported issue with shared sample. File was not
saved in exciting files in the report process. So we changed the report to stream
file and saved in your location.
Please use ReportErrorOccurred event to find the issue details.
https://help.boldreports.com/embedded-reporting/aspnet-mvc-reporting/report-writer/error-logging/
Modified sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Test_Syncfusion_ReportWriter1492432969.zip
Changes:
filename = Path.Combine(outputfolder, "countries.ppt"); MemoryStream memoryStream = new MemoryStream(); writer.Save(memoryStream, WriterFormat.PPT); memoryStream.Position = 0; System.IO.File.WriteAllBytes(filename, memoryStream.ToArray()); |
Regards,
Manoranjan R
Thanks Manoranjan,
It works using memorystream.
A question about the license. The sample report I created has a "license not registered" watermark. We currently using Essential JS. Will the Essential JS cover the the report writer component? We only need this special feature to create PPT.
Regards,
John
Hi John,
Thanks for the update.
Yes, you can use our report writer control with your Essential JS license. You have to use the Bold Report license token to resolve this issue. You have to login with Bold
Reports using your syncfusion account, and get the license. Please refer to the below documentation for this.
https://help.boldreports.com/embedded-reporting/licensing/online-license-token/#asp-net-mvc
If you are facing any issue with generating a license. Please create a ticket from the below site.
https://support.boldreports.com/support/tickets/create
Regards,
Manoranjan R
I got another issue. A simple pie chart does not show in the report (all file formats).
The sample is attached. Again, I removed the files in packages.
BTW, is there a forum for the BoldReport? I was trying to start a new topic for this but could not find one.
Thanks,
John
Attachment: Test_Syncfusion_ReportWriter_2a510753.zip