Is the PDF function not usable in a Power Apps mobile app? The PDF function works when I’m using the app on a laptop, but not when I’m using it on mobile. I receive this error message: ‘TriggerInputSchemaMismatch,’ with the following details: ‘The input body for trigger ‘manual’ of type ‘Request’ did not match its schema definition. Error details: ‘Invalid type. Expected String but got Null.’’
If anyone has a solution for this error, I’d appreciate it!
The PDF() function on mobile devices is slower, but the stream already fires without the content.
In my case, I set a timer 3 seconds after the execution of PDF() and at the end execute the call to the flow.
"Bottom" - Onselect
Set(
_pdf3;
PDF(
ContainerPreviewVistaPrevia;
{ExpandContainers: true}
)
);;
Timer - OnTimerEnd
Set(
_resultPDF;
GuardarCheckList.Run(
itemVerificacion.ID;
{
file: {
name: "Check"&itemVerificacion.ID&"-"&Text(
DateValue(Now());
"dd_mm_yyyyy"
)&"-"&itemVerificacion.Chasis&".pdf";
contentBytes: _pdf3
}
}
)
);;
I hope it helped you
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.