Skip to content

Commit a7743b5

Browse files
committed
980734: Updated preview sample path
1 parent 5e53985 commit a7743b5

38 files changed

+89
-89
lines changed

Document-Processing/PDF/PDF-Viewer/angular/form-designer/create-programmatically.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Add the below serviceUrl in the `app.component.ts` file
9595
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
9696
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
9797

98-
{% previewsample "page.domainurl/samples/pdfviewer/anagular/addformfield-cs1" %}
98+
{% previewsample "Document-Processing/samples/pdfviewer/anagular/addformfield-cs1/index.html" %}
9999

100100
## Edit/Update form field programmatically
101101

@@ -172,7 +172,7 @@ Add the below serviceUrl in the `app.component.ts` file
172172
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
173173
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
174174

175-
{% previewsample "page.domainurl/samples/pdfviewer/angular/updateformfield-cs1" %}
175+
{% previewsample "Document-Processing/samples/pdfviewer/angular/updateformfield-cs1/index.html" %}
176176

177177
## Delete form field programmatically
178178

@@ -249,7 +249,7 @@ Add the below serviceUrl in the `app.component.ts` file
249249
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
250250
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
251251

252-
{% previewsample "page.domainurl/samples/pdfviewer/angular/deleteformfield-cs1" %}
252+
{% previewsample "Document-Processing/samples/pdfviewer/angular/deleteformfield-cs1/index.html" %}
253253

254254
The following code illustrates how to delete a signature from the signature field using the `retrieveFormFields` and `clearFormFields` APIs.
255255

Document-Processing/PDF/PDF-Viewer/angular/formdesigner/programmatically-work-with-form-field.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Using addFormField method, the form fields can be added to the PDF document prog
3535
{% endhighlight %}
3636
{% endtabs %}
3737

38-
{% previewsample "page.domainurl/samples/pdfviewer/angular/addformfield-cs2" %}
38+
{% previewsample "Document-Processing/samples/pdfviewer/angular/addformfield-cs2/index.html" %}
3939

4040
## Edit/Update form field programmatically
4141

@@ -51,7 +51,7 @@ Using updateFormField method, Form Field can be updated programmatically. We sho
5151
{% endhighlight %}
5252
{% endtabs %}
5353

54-
{% previewsample "page.domainurl/samples/pdfviewer/angular/updateformfield-cs2" %}
54+
{% previewsample "Document-Processing/samples/pdfviewer/angular/updateformfield-cs2/index.html" %}
5555

5656
## Delete form field programmatically
5757

@@ -67,7 +67,7 @@ Using deleteFormField method, the form field can be deleted programmatically. We
6767
{% endhighlight %}
6868
{% endtabs %}
6969

70-
{% previewsample "page.domainurl/samples/pdfviewer/angular/deleteformfield-cs2" %}
70+
{% previewsample "Document-Processing/samples/pdfviewer/angular/deleteformfield-cs2/index.html" %}
7171

7272
## Saving the form fields
7373

Document-Processing/PDF/PDF-Viewer/angular/getting-started-with-server-backed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ platformBrowserDynamic().bootstrapModule(AppModule)
154154

155155
```
156156

157-
{% previewsample "page.domainurl/samples/pdfviewer/angular/getting-started-cs1" %}
157+
{% previewsample "Document-Processing/samples/pdfviewer/angular/getting-started-cs1/index.html" %}
158158

159159
> For PDF Viewer serviceUrl creation, follow the steps provided in the [link](https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-es6/how-to/create-pdfviewer-service)
160160

Document-Processing/PDF/PDF-Viewer/angular/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,6 @@ platformBrowserDynamic().bootstrapModule(AppModule)
214214
{% endhighlight %}
215215
{% endtabs %}
216216

217-
{% previewsample "page.domainurl/samples/pdfviewer/angular/getting-started-cs1-standalone" %}
217+
{% previewsample "Document-Processing/samples/pdfviewer/angular/getting-started-cs1-standalone/index.html" %}
218218

219219
[View sample in GitHub](https://github.com/SyncfusionExamples/angular-pdf-viewer-examples/tree/master/Getting%20started%20-%20Standalone).

Document-Processing/PDF/PDF-Viewer/angular/how-to/custom-context-menu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,6 @@ Add the below serviceUrl in the `app.component.ts` file
226226
`public service: string = 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`;
227227
Within the template, configure the PDF Viewer by adding the `[serviceUrl]='service'` attribute inside the div element.
228228

229-
{% previewsample "page.domainurl/samples/pdfviewer/angular/custom-context-menu" %}
229+
{% previewsample "Document-Processing/samples/pdfviewer/angular/custom-context-menu/index.html" %}
230230

231231
[View sample in GitHub](https://github.com/SyncfusionExamples/angular-pdf-viewer-examples/tree/master/How%20to/Custom%20Context%20Menu)

Document-Processing/PDF/PDF-Viewer/javascript-es5/annotations/text-markup-annotation.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ N> To set up the **server-backed PDF Viewer**,
4848
Add the below [serviceUrl](https://ej2.syncfusion.com/documentation/api/pdfviewer/#serviceurl) in the `index.html` file
4949
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
5050

51-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-mode-cs1" %}
51+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-mode-cs1/js/index.html" %}
5252

5353
Refer to the following code snippet to switch back to normal mode from highlight mode.
5454

@@ -62,7 +62,7 @@ N> To set up the **server-backed PDF Viewer**,
6262
Add the below `serviceUrl` in the `index.html` file
6363
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
6464

65-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-normal-mode-cs1" %}
65+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/highlight-normal-mode-cs1/js/index.html" %}
6666

6767
## Highlight a text programmatically
6868

@@ -152,7 +152,7 @@ N> To set up the **server-backed PDF Viewer**,
152152
Add the below `serviceUrl` in the `index.html` file
153153
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
154154

155-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-mode-cs1" %}
155+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-mode-cs1/js/index.html" %}
156156

157157

158158
Refer to the following code snippet to switch back to normal mode from underline mode.
@@ -167,7 +167,7 @@ N> To set up the **server-backed PDF Viewer**,
167167
Add the below `serviceUrl` in the `index.html` file
168168
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
169169

170-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-normal-mode-cs1" %}
170+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/underline-normal-mode-cs1/js/index.html" %}
171171

172172
## Underline a text programmatically
173173

@@ -258,7 +258,7 @@ N> To set up the **server-backed PDF Viewer**,
258258
Add the below `serviceUrl` in the `index.html` file
259259
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
260260

261-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-mode-cs1" %}
261+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-mode-cs1/js/index.html" %}
262262

263263
Refer to the following code snippet to switch back to normal mode from underline mode.
264264

@@ -272,7 +272,7 @@ N> To set up the **server-backed PDF Viewer**,
272272
Add the below `serviceUrl` in the `index.html` file
273273
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
274274

275-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-normal-mode-cs1" %}
275+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/strikethrough-normal-mode-cs1/js/index.html" %}
276276

277277
## Strikethrough a text programmatically
278278

@@ -362,7 +362,7 @@ N> To set up the **server-backed PDF Viewer**,
362362
Add the below `serviceUrl` in the `index.html` file
363363
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
364364

365-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-mode-cs1" %}
365+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-mode-cs1/js/index.html" %}
366366

367367
Refer to the following code snippet to switch back to normal mode from squiggly mode.
368368

@@ -376,7 +376,7 @@ N> To set up the **server-backed PDF Viewer**,
376376
Add the below `serviceUrl` in the `index.html` file
377377
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
378378

379-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-normal-mode-cs1" %}
379+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/squiggly-normal-mode-cs1/js/index.html" %}
380380

381381
## Squiggly a text programmatically
382382

@@ -526,7 +526,7 @@ Refer to the following code snippet for calling undo and redo actions from the c
526526
{% endhighlight %}
527527
{% endtabs %}
528528

529-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/undo-redo-cs1" %}
529+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-text-markup-annotation/undo-redo-cs1/js/index.html" %}
530530

531531
## Saving the text markup annotation
532532

Document-Processing/PDF/PDF-Viewer/javascript-es5/form-designer/create-programmatically.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ N> To set up the **server-backed PDF Viewer**,
3939
Add the below `serviceUrl` in the `index.html` file
4040
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
4141

42-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/addformfield-cs1" %}
42+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/addformfield-cs1/js/index.html" %}
4343

4444
## Edit/Update form field programmatically
4545

@@ -58,7 +58,7 @@ N> To set up the **server-backed PDF Viewer**,
5858
Add the below `serviceUrl` in the `index.html` file
5959
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
6060

61-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/updateformfield-cs1" %}
61+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/updateformfield-cs1/js/index.html" %}
6262

6363
## Delete form field programmatically
6464

@@ -77,7 +77,7 @@ N> To set up the **server-backed PDF Viewer**,
7777
Add the below `serviceUrl` in the `index.html` file
7878
`serviceUrl: 'https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer'`
7979

80-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/deleteformfield-cs1" %}
80+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/deleteformfield-cs1/js/index.html" %}
8181

8282
## Saving the form fields
8383

Document-Processing/PDF/PDF-Viewer/javascript-es5/formdesigner/programmatically-work-with-form-field.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Using addFormField method, the form fields can be added to the PDF document prog
3535
{% endhighlight %}
3636
{% endtabs %}
3737

38-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/addformfield-cs2" %}
38+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/addformfield-cs2/js/index.html" %}
3939

4040
## Edit/Update form field programmatically
4141

@@ -50,7 +50,7 @@ Using updateFormField method, Form Field can be updated programmatically. We sho
5050
{% endhighlight %}
5151
{% endtabs %}
5252

53-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/updateformfield-cs2" %}
53+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/updateformfield-cs2/js/index.html" %}
5454

5555
## Delete form field programmatically
5656

@@ -65,7 +65,7 @@ Using deleteFormField method, the form field can be deleted programmatically. We
6565
{% endhighlight %}
6666
{% endtabs %}
6767

68-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/deleteformfield-cs2" %}
68+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/deleteformfield-cs2/js/index.html" %}
6969

7070
## Saving the form fields
7171

Document-Processing/PDF/PDF-Viewer/javascript-es5/getting-started-with-server-backed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ document.getElementById('load').addEventListener('click', function () {
4747

4848
N> The Web API hosted link https://document.syncfusion.com/web-services/pdf-viewer/api/pdfviewer utilized in the PDF viewer's serviceUrl property is intended solely for demonstration and evaluation purposes. For production deployment, please host your own web service with your required server configurations. You can refer and reuse the [GitHub Web Service example](https://github.com/SyncfusionExamples/EJ2-PDFViewer-WebServices) or [Docker image](https://hub.docker.com/r/syncfusion/pdfviewer-server) for hosting your own web service and use for the serviceUrl property. **We strongly recommend using the standalone mode.**
4949

50-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-getting-started-cs1" %}
50+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-getting-started-cs1/js/index.html" %}
5151

5252
**Step 4:** Now, run the `index.html` in web browser, it will render the `Essential JS 2 PDF Viewer` component.
5353

Document-Processing/PDF/PDF-Viewer/javascript-es5/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The Essential JS 2 for JavaScript (global script) is an ES5 formatted pure JavaS
3838
{% endhighlight %}
3939
{% endtabs %}
4040

41-
{% previewsample "page.domainurl/code-snippet/pdfviewer/javascript/es5-getting-started-cs2" %}
41+
{% previewsample "Document-Processing/code-snippet/pdfviewer/javascript/es5-getting-started-cs2/js/index.html" %}
4242

4343

4444
### Steps to Load PDF Viewer with Local Resources

0 commit comments

Comments
 (0)