bakePageFormAndSaveToBox
Function
VabletFormTools.bakePageFormAndSaveToBox(fileName,callingButton,pageDocumentObject,pdfPageSize,callback)
Description
Converts form, and special Vablet elements on the page to text and image elements to 'bake' them in. Then uploads this to box. Existing files with same name are not overwritten.
Arguments
| Argument | Description |
|---|---|
| fileName | The file name. |
| callingButton | The button pressed to call the function. Used for hiding button in baked PDF. |
| pageDocumentObject | This is the HTML pages document, a global called document typically. |
| pdfPageSize | The rendered PDF page size. It is a JSON object with width and height properties. Ex: {'width':pageSizeWidth,'height':pageSizeHeight} |
| callback | Same callback as the vablet native function calls |
Return
- success - Always returns success.