Select to view content in your preferred language

Help needed for sharing the pdf to sharepoint

136
2
12-09-2024 09:20 AM
GISIntern21
Emerging Contributor

 

Hello everyone

I am currently working on creating an inspection report and uploading it to SharePoint using Power Automate. The process works as expected, and the PDF is uploaded to the correct location, but I'm encountering an issue — the PDF is not previewing in SharePoint. 

Has anyone encountered this issue before, or does anyone have any suggestions on how to resolve it? Any advice would be greatly appreciated! And I think I am messing up with the File Content.

Thank you in advance!

GISIntern21_0-1733764578286.png

 

0 Kudos
2 Replies
abureaux
MVP Frequent Contributor

the PDF is not previewing in SharePoint

Can yo elaborate?

0 Kudos
Derrick_Westoby
Emerging Contributor

2 guesses:

1. It looks like you're missing the HTTP Get module.  I'm guessing your "create file" action is using the URL provided by the create report action? You need to to put an HTTP GET action in between those:

Derrick_Westoby_2-1735683726592.png

 

 

2. Maybe the file needs to be "checked in" after creating it? I just ran into this problem today. I could see my own uploaded files, but nobody else could see them. Problem ended up being that files were left as "checked out" when I created them.  Resolved by adding a check-in action right after creating the file. 

Derrick_Westoby_3-1735683747716.png

 

0 Kudos