How to view pdf files using @ syncfusion / ej2-angular-documenteditor on ionic 4

Dear Sir

I need help with how to view pdf files using @ syncfusion / ej2-angular-documenteditor on the angular ionic 4 platform.
In your example, there are introductions but the resources are not enough for me to develop according to my environment.

I need to know what your API handles so I can apply to the project.
Thanks.

Yours faithfully 

3 Replies

AA Akshaya Arivoli Syncfusion Team April 15, 2020 09:46 AM UTC

Hi Nguyen , 

Thank you for contacting Syncfusion support. 

Our PDF Viewer control is both server and the client side oriented. PDF viewer control processes the PDF document in the server side(developed with .NET environment) and send the processed PDF data to the client using the web service to render the PDF document and for further operations in PDF viewer.  So, it not possible to load the PDF document in PDF Viewer without sever side. Please refer to the below link to create PDF Viewer web service project in ASP.NET Core, 



Kindly run the Web service project first and provide that URL to the serviceURL property of the PDF Viewer. 

Please try it and revert us if you have any concerns on this. 

Regards, 
Akshaya 
               



NG Nguyen Gia Huy April 16, 2020 07:35 AM UTC

Hi Akshaya, 

Thanks for the feedback to me,
Your instructions have been successfully applied by me
I really thank you for that
But I still have another problem, iIt is for viewing excel file on application ionic 4 use angular and ej2-angular-spreadsheet

I really need your answers
Regards, 
Nguyen


AD Arunkumar Devendiran Syncfusion Team April 18, 2020 02:22 AM UTC

Hi Nguyen,  
 
We have checked your reported query and we have created the sample for your requirement. In this we have created the server using ASP.NET Core(https://localhost:44317/). In this sample we have initially loaded the data from server side by using created event. Please refer the below sample link. 
 
Sample Link: 
 
Please refer the below documentation for more information. 
 
Regards,  
Arunkumar D 


Loader.
Up arrow icon