show the pdf using full path

I am using PDF Viewer to show the SharePoint contains PDF documents but I can't find any suitable example where I can just pass the pdf url and it'll show the same

1 Reply 1 reply marked as answer

VS Vasugi Sivajothi Syncfusion Team June 16, 2021 12:52 PM UTC

Hi Mohammad, 
 
Thank you for contacting Syncfusion support. 
 
We have shared the sample to load the document from the share point in the PDF Viewer. Please follow the below steps to load the document from the share point. 
 
 
Steps: 
STEP 1: Kindly update the following details in appsettings.json  
    • Email for office 365 account
    • Password for office 365 account
    • Client Id for registered app in Azure Active Directory
    • Tenant Id for registered app in Azure Active Directory
    • SharePoint Site Id which have the PDF document
    • SharePoint Driver id which have the PDF document         
STEP 2: Run the web service   
   
STEP 3: Open the document in the client-side react application. 
 
 
Please let us know if you have any concerns about this. 
 
Regards, 
Vasugi.  


Marked as answer
Loader.
Up arrow icon