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!
the PDF is not previewing in SharePoint
Can yo elaborate?
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:
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.