...
Code Block | ||
---|---|---|
| ||
var doc = $Documents.New('My Document'); doc.Files.AddPDF('<p>Hello</p>', 'report.pdf'); doc.Publish(["myfolder", "otherfolder"]); var id = doc.Id; |
Examples
Code Block | ||
---|---|---|
| ||
var doc = $Documents.New('My Document');
doc.Files.AddPDF('<p>Hello</p>', 'report.pdf');
doc.Publish(["myfolder", "otherfolder"]);
var id = doc.Id; |