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. Image for the cookie policy date

Pdf does not show in comments


Pdf does not show comments, any idea what going on because code in same in syncfusion. show only loading


import { ComponentOnInit } from '@angular/core';
import {
from '@syncfusion/ej2-angular-pdfviewer';

  selector: 'kt-docviews',
  templateUrl: './docviews.component.html',
  styleUrls: ['./docviews.component.scss'],
  providers: [LinkAnnotationServiceBookmarkViewServiceMagnificationService,
export class DocviewsComponent implements OnInit {

  public service = 'https://ej2services.syncfusion.com/production/web-services/api/pdfviewer';
  public document = 'PDF_Succinctly.pdf';

   constructor() {

  ngOnInit() {



<div class="row">
        <div class="col-sm-12 col-md-12 col-lg-12">
          <ejs-pdfviewer id="pdfviewer1" [serviceUrl]='service' [documentPath]='document' style="height:740px; display:block"></ejs-pdfviewer>


4 Replies

AA Akshaya Arivoli Syncfusion Team September 30, 2019 05:40 AM

Hi Rizwan, 

Thank you for contacting Syncfusion support. 

We can reproduce the reported issue, on analyzing we found that, this is due to referring of online web service url. This issue will be resolved when the local web service project’s Url provided in the serviceUrl property of the PDF Viewer. However, we will refresh the online web service url as soon as possible.   

We have created simple PDF Viewer sample with the and shared the same in the following location,  

Note: Kindly run the web service project first and provide that URL to the serviceUrl property of the PDF Viewer.  

Please find the below link to create web service project,  

Please try this and let us know if you have any concerns on this. 


AA Akshaya Arivoli Syncfusion Team October 1, 2019 05:33 AM

Hi Rizwan, 

We have resolved the issue in our online service URL and refreshed the same. Now it is working as expected. Please try it and let us know if you have any concerns on this. 


RI Rizwan October 2, 2019 04:00 AM


Yes, issue in fixed, pdf show in the component.

Thank You for support and resolved the problem

AA Akshaya Arivoli Syncfusion Team October 3, 2019 12:02 AM

Hi Rizwan, 

We are glad to hear that the reported issue is resolved. 


Live Chat Icon For mobile
Up arrow icon