0
openPrintLayout
To open a record in a given layout in the print layout editor
This function will open a specific print layout of a given record.
Syntax
openPrintLayout(nid, string)
Return
void
Example
openPrintLayout(this, "Invoice")
Result: Will open the print layout called Invoice of the current record.
See also
printAndSaveRecord
which saves a given record in a given layout as PDF in the internal file system and returns the path as a link.
printRecord
which prints to a PDF from a given record in a given layout and opens the file with a program set as default.
Reply
Related articles
Content aside
- 4 mths agoLast active
- 33Views
-
1
Following