To Assign a genrated pdf to a file upload field using delug
- content = "<html><body>HTML Content on page One <div style='page-break-after:always'></div> HTML Content on page Two </body></html>";
- file = zoho.file.convertToPDF(content);
- file.setFileName("Name of the file");
- <variableName> = <FormLinkName>[ID == input.ID];
- <variableName>.<FileUploadField> = file;
you cant assign a pdf directly to a field,you need to follow the above method