We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error: ejReportViewer: methods/properties can be accessed only after plugin creation

Thread ID:

Created:

Updated:

Platform:

Replies:

150215 Dec 26,2019 02:44 PM UTC Dec 31,2019 05:42 AM UTC Angular 3
loading
Tags: ejReportViewer
yousaf khan
Asked On December 26, 2019 02:48 PM UTC

I am trying to use Report Viewer in Angular 7 using your online report services but getting this error, 
"Error: ejReportViewer: methods/properties can be accessed only after plugin creation"
Here is how I tried to use it,
` id="reportViewer_Control" [reportServiceUrl]="serviceUrl" [reportPath]="reportPath">
`
and service url is
this.reportPath = 'company-sales';
this.serviceUrl = 'https://reports.syncfusion.com/demos/services/api/SamplesReportViewer';
and imported EJAngular2Module.forRoot() in app module.

Component is loaded as shown in above given snapshot but report is not loaded and it gives error "Error: ejReportViewer: methods/properties can be accessed only after plugin creation". Any help will be appreciated.

Vinoth Srinivasan [Syncfusion]
Replied On December 30, 2019 10:02 AM UTC

Hi Yousaf, 

Thanks for your interest in Syncfusion products. 

We have validated the mentioned issue with our Angular Report Viewer application, and it is rendering properly at our end. We suspect the mentioned issue occurs when you have created the control with EJ Report Viewer and used the service as BoldReports Report Viewer service. So, could you please create a Report Viewer control with BoldReports in Angular as shown in below help documentation. 

We have prepared the Angular BoldReports Report Viewer control with Web API Service application and it can be downloaded from below location.  

Regards, 
Vinoth S. 


yousaf khan
Replied On December 30, 2019 10:09 AM UTC

Thanks for your response. But, I followed the process given in documentation mentioned by you. It gives the same error even if I use bold reports control. I tried to skip reportServiceUrl to check if it is problem with remote service but it gives the same error. 

Vinoth Srinivasan [Syncfusion]
Replied On December 31, 2019 05:42 AM UTC

Hi Yousaf, 

Thanks for your update. 

We were not able to reproduce the mentioned issue at our end with our previously shared application. So, could you please provide the issue reproducible application to validate the mentioned problem at our end. 

Regards, 
Vinoth S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon