If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

I want to save data from report board

- Dear Syncfusion.

-I started working on a reactjs project and I use board report. I had a problem every page updates the work in board disappeared. in I think there are two solution souvgarde data in localSotrage or in database but the problem I do not find method to find the data.

-I hope there is a solution to recover data and save it

here is an example of my work



I hope my problem is clear.

Regards, 


5 Replies

AM Arumugasami Murugesan Syncfusion Team February 15, 2022 01:36 PM UTC

Hi Test,  
 
Thanks for the update, 
 
Could you please confirm whether you want to save the report on local storage or on the server by using the report designer? If not please provide additional details about your requirement with us? It will be helpful for our further validation. 
 
Regards, 
Arumugasami M 



TE test February 15, 2022 06:55 PM UTC

thanks for reply

I want to save the report in my database (MySql, or NoSql) the problem I don't find the data I want to save. and if possible also i want saved locally because if i refresh page my work disappeared.

Regards,



AM Arumugasami Murugesan Syncfusion Team February 16, 2022 03:17 PM UTC

Hi Test,   
  
Thanks for the update,  
  
We are checking on and share you the further details for this on February 17, 2022. 
  
Regards,  
Arumugasami M  



AM Arumugasami Murugesan Syncfusion Team February 16, 2022 03:18 PM UTC

Hi Test,   
  
Thanks for the update,  
  
We are checking on this and share you the further details for this on February 17, 2022. 
  
Regards,  
Arumugasami M  



AM Arumugasami Murugesan Syncfusion Team February 17, 2022 04:36 PM UTC

Hi Test, 
 
Sorry for the delay, 
 
We cannot handle the save option in the client side. You have to add the external server option with the API to save the report in your application or the database. Please find the sample below, 
 
 
In Server side: (ExternalReportServer.cs)
Using the GetReport method you can open your report from your application.
 
If you want to open from your server. Please modify the below method as per your requirement. 
public override System.IO.Stream GetReport() 
        { 
            string reportPath = Path.Combine(this.reportResourcePath, this.ReportPath.TrimStart('\\').TrimStart('/')); 
  
            if (!reportPath.Contains(".rdl")) 
            { 
                reportPath = reportPath + ".rdl"; 
            } 
  
            if (File.Exists(reportPath)) 
            { 
                return this.ReadFiles(reportPath); 
            } 
  
            return null; 
        } 
 
In Server side: (ExternalReportServer.cs) 
 
In the provided sample the report will be saved in our application location. If you want to save the report in database means, then you can modify the below method as per your requirement. 
        public override bool CreateReport(string reportName, string folderName, byte[] reportdata, out string exception) 
        { 
            exception = null; 
            reportName = reportName.TrimStart('\\').TrimStart('/'); 
  
            if (!Path.HasExtension(reportName)) 
            { 
                reportName += ".rdl"; 
            } 
  
            string reportPath = Path.Combine(this.reportResourcePath, reportName); 
            File.WriteAllBytes(reportPath, reportdata.ToArray()); 
  
            return true; 
        } 
 
 
 
Regards, 
Arumugasami M 


Loader.
Up arrow icon