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
close icon

Pdf does not show in comments

Hi,

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

(TS CODE)

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

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

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


   constructor() {
  
  } 

  ngOnInit() {
  }

}



(HTML CODE)

<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>
        </div>
    </div>



(VIEW)



4 Replies

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

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. 

Regards, 
Akshaya 




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

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. 

Regards, 
Akshaya 



RI Rizwan October 2, 2019 09:00 AM UTC

Hi,

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 05:02 AM UTC

Hi Rizwan, 

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

Regards, 
Akshaya 


Loader.
Live Chat Icon For mobile
Up arrow icon