To Assign a genrated pdf to a file upload field using delug

To Assign a genrated pdf to a file upload field using delug

  1. content = "<html><body>HTML Content on page One <div style='page-break-after:always'></div> HTML Content on page Two </body></html>";
  2. file = zoho.file.convertToPDF(content);
  3. file.setFileName("Name of the file");
  4. <variableName> = <FormLinkName>[ID == input.ID];
  5. <variableName>.<FileUploadField> = file;

you cant assign a pdf directly to a field,you need to follow the above method