Starting in 2019, the Reporting control is no longer included in Essential Studio®. If you're experiencing issues with the Syncfusion� Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion� and appreciate your understanding.

(from Vue) RDL or RDLC to Power Point

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


12 Replies

JY Jeff Yang January 20, 2022 09:32 PM UTC

Hi Synchfusion support desk: 


Anyone can reply this query? Thanks!


Jeff



JY Jeff Yang January 20, 2022 09:38 PM UTC

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



GV Gokulraj Varatharajan Syncfusion Team January 21, 2022 12:02 PM UTC

  
Hi Jeff, 
 
Sorry for the delay 
 
We are unable to get your exact requirement from your query. Before we schedule a call could you share the below additional more details which will be helpful for us to assist better? 
 
1. Which component you are using? 
2. If possible, share the code snippet? 
 
Regards, 
Gokul


JC John Chen January 21, 2022 02:44 PM UTC

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




MR Manoranjan Rajendran Syncfusion Team January 24, 2022 09:43 AM UTC

Hi John, 
 
Thanks for the update. 
 
Using Bold Reports writer control, you can export PPT files from your RDL or RDLC. Please refer to the below documentation for writer control,
https://help.boldreports.com/embedded-reporting/aspnet-web-forms-reporting/report-writer/export-ssrs-rdl-report/

Using the below code, you can load the report as a report definition.
 
Report Viewer: 
var serializer = new BoldReports.RDL.DOM.ReportSerializer(); 
var reportDefinition = serializer.GetReportDefinition(reportStream); 
reportOption.ReportModel.ReportDefinition = reportDefinition; 
Report Writer: 
BoldReports.Writer.ReportWriter writer = new BoldReports.Writer.ReportWriter(); 
writer.LoadReport(reportDefinition); 


Please refer to the below document for creating report viewer control in VueJS application.
https://help.boldreports.com/embedded-reporting/javascript-reporting/report-viewer/faq/add-web-report-viewer-to-a-vue-application/
 
 
Regards, 
Manoranjan R


JC John Chen January 25, 2022 06:51 PM UTC

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




JC John Chen January 25, 2022 07:01 PM UTC

My test sample is attached.


I removed the package as the zip got too big to upload.



Attachment: Test_Syncfusion_ReportWriter_2a60cf1.zip


MR Manoranjan Rajendran Syncfusion Team replied to John Chen January 26, 2022 11:46 AM UTC

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



JC John Chen January 26, 2022 12:50 PM UTC

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




MR Manoranjan Rajendran Syncfusion Team replied to John Chen January 26, 2022 11:09 PM UTC

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



JC John Chen January 27, 2022 04:33 AM UTC

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



AM Arumugasami Murugesan Syncfusion Team January 27, 2022 05:31 AM UTC

Hi John, 
 
Thanks for the update, 
 
Please follow the below documentation to resolve the chart issue. 
 
 
Regards, 
Arumugasami M 


Loader.
Up arrow icon