Hello, I have an interesting question about how to submit a generated PDF into a Sharepoint list, by using a form.
First, I have successfully generated a PDF from a container, which contains a gallery with data. This is done with the following (new) PDF-command:
Set(pdfStemReport,PDF(contStemReport,{ExpandContainers:true}));
So, after this command, I have stored the PDF in my variable "pdfStemReport" with datatype Blob. I know that the file is generated, because I can check with the PDF-viewer.
The goal is to store this generated PDF in a new item of my Sharepoint list and therefor I created a form, which is connected to that list. So, that form contains fields for all the Sharepoint columns, including the Attachement field.
My idea was to load the generated PDF as default value in the Attachement datacard of the form and then submit the form to Sharepoint, so that all data comes in my list, including the attached PDF. However, this does not work because I get the following error when setting the PDF-file as default value for the Attachement datacard:

So, I ave no idea if this is possible or how I should do this...
Any help is much appreciated!