File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed
Server-Side Components/Server Side/Record as Link Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,5 @@ The **Record as a Link Utility** is a versatile tool designed to dynamically ren
1818
1919Use 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
You can’t perform that action at this time.
0 commit comments