Hi Everyone,
I'm experimenting with the PDF() function in Power Apps. I can successfully generate a PDF from a container. But I'm struggling with the next step: saving the generated PDF. I think I've used every loophole in AI to get the content of the PDF to Power Automate (both classic and V2 connections). I keep ending up with de blob-adress whatever I try.
I even tried things like this: Set(mijnPDFBase64; Mid(JSON(mijnPDF; JSONFormat.IncludeBinaryData); Find("base64,"; JSON(mijnPDF; JSONFormat.IncludeBinaryData)) + 7; Len(JSON(mijnPDF; JSONFormat.IncludeBinaryData)) ));;
(I'm in the Netherlands, that's why the syntax is slightly different.)
I'm looking for the exact formula in PowerApps to call PowerAutomate (something like:
'SavePDF'.Run(
{
file: {
name: "myPDF.pdf";
contentBytes: PDF(containerPDF)
}
}
)
And for the way this information must be received in PowerAutomate. Any help greatly appreciated.
Gert