Hello, im having trouble with saving the form/container into a PDF file for email attachment. Sometimes it print the entered value on the datacards sometimes it doesnt.
or sometimes it only works perfectly on edit > play mode, but when published no value was been save.
I insert the code on the form's OnSuccess instance here's the code.
Set(varPDF, PDF(MainContainer1_8,{ExpandContainers:true}));
SaveFileToSharepoint.Run(
DataCardValue1_17.Text,
{
file: {
contentBytes: varPDF,
name: DataCardValue1_17.Text & ".pdf",
contentType: PDF(MainContainer1_8)
}
}
);
Set(varSavePrompt, true);
Set(varSubmitButton, false);
Here also the flow
Appreciate all suggestions thanks!

Report
All responses (
Answers (