From e73b85b9535054681fe381fd92b3dd7c46c3fb0f Mon Sep 17 00:00:00 2001 From: SaravanaPriya31 Date: Mon, 7 Aug 2023 14:51:56 +0530 Subject: [PATCH] 837858 : commented line added for the documentPath property --- AngularClient/src/app/app.component.ts | 3 ++- JavaScriptClient/src/app/app.ts | 6 ++++-- ReactClient/src/index.js | 1 + TypeScriptClient/src/app/app.ts | 6 ++++-- VuejsClient/src/App.vue | 1 + 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/AngularClient/src/app/app.component.ts b/AngularClient/src/app/app.component.ts index 9e348e7..666ef3e 100644 --- a/AngularClient/src/app/app.component.ts +++ b/AngularClient/src/app/app.component.ts @@ -21,8 +21,9 @@ import { LinkAnnotationService, BookmarkViewService, MagnificationService, TextSelectionService, PrintService, FormDesignerService, FormFieldsService] }) export class AppComponent implements OnInit { - // Replace the "localhost:44309" with the actual URL of your server + // Replace the "localhost:44396" with the actual URL of your server public service = 'https://localhost:44396/pdfviewer'; + //Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder. public document = 'PDF_Succinctly.pdf'; ngOnInit(): void { diff --git a/JavaScriptClient/src/app/app.ts b/JavaScriptClient/src/app/app.ts index d121331..cd3296b 100644 --- a/JavaScriptClient/src/app/app.ts +++ b/JavaScriptClient/src/app/app.ts @@ -5,6 +5,8 @@ PdfViewer.Inject( Toolbar, Magnification, Navigation, Annotation, LinkAnnotation BookmarkView, TextSelection, TextSearch, FormFields, FormDesigner); let pdfviewer: PdfViewer = new PdfViewer(); +// Replace the "localhost:44396" with the actual URL of your server pdfviewer.serviceUrl = 'https://localhost:44396/pdfviewer'; -pdfviewer.appendTo('#PdfViewer'); -pdfviewer.load('PDF_Succinctly.pdf', null); \ No newline at end of file +//Replace `PDF_Succinctly.pdf` with the actual document name that you want to load from google drive folder. +pdfviewer.documentPath = 'PDF_Succinctly.pdf'; +pdfviewer.appendTo('#PdfViewer'); \ No newline at end of file diff --git a/ReactClient/src/index.js b/ReactClient/src/index.js index 3c347ae..d4bf335 100644 --- a/ReactClient/src/index.js +++ b/ReactClient/src/index.js @@ -8,6 +8,7 @@ return (