web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :

View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

 Profile Picture Posted by Community member

Hi Team,

 

I have explained how to read PDF files from the SharePoint library to the Power App PDF component with the help of Power Automate. I have built this APP and Automate Flow in just 10 min.

 

I hope this will be helpful to all of you to expedite your development in daily deliverables.

 

Categories:

General PowerApps

Comments

  • fernandorivera Profile Picture fernandorivera 18
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    Hi KrishnaV thanks for this incredible video, hope you can help me with this: i got an error in the GET PDF DATA in the Flow.

    Error Details:

    "The response is not in a JSON format."

     

    THANKS!!

  • KrishnaV Profile Picture KrishnaV 5,023
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    hi @DannyBR,

     

    what is the error you see and share the error to help you better.

  • DannyBR Profile Picture DannyBR
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    Hi, I have been following the tutorial and I also got the similar error
    my one says "Invalid number of arguments: 2 received but 3 expected"

    I am still working on it

  • Community Power Platform Member Profile Picture Community Power Pla... Microsoft Employee
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    Thank you so much. This helped with exactly what I needed in such an easy way. Finally able to finish my app with this information. Thanks man.

  • Community Power Platform Member Profile Picture Community Power Pla... Microsoft Employee
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    Hi Krishna - Great video. This doesn't bypass the current limitations with the pdf viewer in which pdf's that require authentication aren't able to be viewed correct?

  • Faribeiro Profile Picture Faribeiro
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    krishnaV...thank you so much for your reply. The problem was due to run the flow before finish the PowerApps application. This generated more than 2 variables leading to error in PowerApps. The solution was:

    1) Creat a flow WITHOUT run it

    2) Conclude the PowerApps application with all formulas mentioned in your video.

    3) Run the application

     

    Thank you again for your response.

  • KrishnaV Profile Picture KrishnaV 5,023
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    Hi Faribeiro,

     

    Just ensure that your flow is implemented as advised in the video.

  • Faribeiro Profile Picture Faribeiro
    Posted at
    View PDF files from SharePoint library to PowerAPPS PDF component using PowerAutomate

    Hello KrishnaV....thank you so much for sharing this great video.
    I have been months trying to get this working properly.

    I tried you suggestion but having an issue with the part that trigger powerflow

     

    UpdateContext({varPDF:PDFViewdocumentation.Run(Substitute(Substitute(Gallery_RM.Selected.'Link to item',"%20"," "),Gallery_RM.Selected.'Full Path',Blank()),Gallery_RM.Selected.'Full Path')})

     

    Invalid number of arguments: received 2, expected 5.

     

    could you please help me out on this?

     

    Thanks in advance.