Looking for a way to convert all pages in a site pages library to pdf's. When I try get items > get file content > convert file > create file it fails on the get file content step with the error:
File not found
clientRequestId: xxx13
serviceRequestId: xxx614e013
Solved! Go to Solution.
Hi @webbrewer ,
Since you need to restrict to files, use the IsFolder property to exclude folders:
On your end it's:
items('Apply_to_each_3')?['Identifier']
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @webbrewer
Can you share a screenshot of the flow? This usually happens if the ID passed in the identifier is wrong from the dynamic content selector.
Hope this helps!
Sure, thanks! I've tried numerous configurations - this was the latest:
That configuration fails on the first item in the get file content action - which I assume is because that item is actually a folder in the library not a file. The other items (all pages) succeed.
File not found
clientRequestId: xxxbdcad195
serviceRequestId: xxxa795-b14fbdcad195
Hi @webbrewer ,
Could you please clarify whether the Site Pages is a library or a list? If it is a library, you need to use the action "Get files (properties only)" along with a "Filter array" operation:
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Thanks - still getting an error though. It's the site pages library but what should go in the filter array?
Hi @webbrewer ,
Since you need to restrict to files, use the IsFolder property to exclude folders:
On your end it's:
items('Apply_to_each_3')?['Identifier']
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Thanks. Still getting a 404 on get file content action:
Hi @webbrewer ,
I'm so sorry that I've missed curly braces for the column:
items('Apply_to_each')?['{Identifier}']
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
128 | |
47 | |
46 | |
27 | |
25 |