Skip to main content

Notifications

Power Apps - Power Apps Experimental Features
Unanswered

PDF Function doesn´t work on Mobile

(0) ShareShare
ReportReport
Posted on by 12
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!
  • Fierropy Profile Picture
    Fierropy 2 on at
    PDF Function doesn´t work on Mobile
    Idd
     

    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
     

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.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics