Hi All,
I created a Power Automate flow to generate a PDF file from a SharePoint List automatically.
I am using the Encodian PDF converter.
Is there a way to match the PDF Filename with the List Name?
I have tried several expressions and functions in the PDF Filename to automatically read the List Name and apply it to the output filename, including concat, but without success..
Thanks!
Hi @Filippo0083 ,
This didn't happen to me in my test. If that's the case, you can strip the last character in the resulting string to get a substring as the name.
I have one question though... The file name automatically adds a 1 at the end of the file name.
Is there a way to avoid that and have only the List name?
Thanks!
Thanks for your reply.
It worked! Thanks!
Hi @Filippo0083 ,
Try extracting list name from path:
reverse(split(outputs('Get_items')?['body/value'][0]?['{Path}'],'/'))[1]
Best Regards,
Habsburg Qian
If this post helps, then please consider Accept it as the solution to help the other members find it.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492