Not sure if anyone has tried this before but I am trying to enable the option for users to download a PDF version of a form created using HTML code.
However, when I select the attachment control I get the 404 error on my browser, see screenshot attached.
Here is the code for my button to generate the PDF blob:
Set(pdfContent, JSON(PDF(Container2),JSONFormat.IncludeBinaryData));
Here it my attachment control item property code:
[{Name: "amendment.pdf", Value: Substitute(pdfContent, """","")}]