Skip to content

Commit bd407a0

Browse files
authored
Remove PDF generation example from README
Removed example usage section for PDF generation from README.
1 parent be044e6 commit bd407a0

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

Server-Side Components/Server Side/Record as Link/README.md

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,5 @@ The **Record as a Link Utility** is a versatile tool designed to dynamically ren
1818

1919
Use the utility as used given code and merge it with other html. example attached for reference.
2020

21-
22-
## Example Usage for PDF Generation
23-
24-
```javascript
25-
var recordToLinkUtil = new RecordToHTML("incident", "1c741bd70b2322007518478d83673af3",
26-
"incident: ${number}-${short_description}",true);
27-
28-
var html = '<h1>Incident Link is genearted</h1>\n' + recordToLinkUtil.toString();
29-
var fileName = 'Test File with RecordLink';
30-
var tableName = 'incident';
31-
var recordSysId = "a623cdb073a023002728660c4cf6a768";
32-
33-
// Generate PDF and attach
34-
var pdfResult = new sn_pdfgeneratorutils.PDFGenerationAPI().convertToPDF(
35-
html,
36-
tableName,
37-
recordSysId,
38-
fileName,
39-
''
40-
);
41-
```
21+
=
4222

0 commit comments

Comments
 (0)