▬ Description ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Edit 2023-03-09:
For creating the PDF instead of the Adobe PDF services (which create additional costs), I would rather use the integrated functionality from word to convert from word to pdf, see this blog: https://debajmecrm.com/convert-word-document-to-pdf-using-power-automate-flows/
I'm excited to share with you a Use Case based on an interesting requirement from one of our customers - the need to bulk create up to 50 or more PDF reports at a time for specific projects and contractors with just one click within your Power App. In this colourful bouquet of Power Platform standard and premium capabilities, I walk you through the step-by-step process of setting up this workflow using expressions, child flows, exception handling, connection references, Word and Adobe PDF Services Connector, as well as good old SharePoint.
You will end up with a workflow that enables you to create X PDF Reports at a time by clicking one Button within Power Apps.
This may not be the most common use case, but I'm confident that there is someone out there who might find this useful, so it's worth sharing. As always, I make no claim that this is the perfect solution, so I welcome any critical feedback that you may have.
I'd also like to give a special shoutout to Cloud Couch Rocks, which nudged me in the right direction and challenged my approach. I'm grateful for everything I've learned along the way, and I'm excited to share my knowledge with you today. Thanks for watching!
▬ Content ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
0:20 Thanks to the community
0:40 Use Case
1:25 Workflow description
4:45 Sample Power App
7:46 Create Word Template with Grid Data
10:07 Parent Flow creation: The Aggregator
18:58 1st Child Flow: The Selector
22:24 Create Connection References
26:00 2nd Child Flow: The PDF Creator
33:15 Adobe PDF Services Action
35:10 Final Test of Bulk creation
37:57 Summary
▬ Some useful References ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[1] How To Print Data In Table Inside Word File Using Power Automate Or MS Flow (c-sharpcorner.com): https://www.c-sharpcorner.com/article/how-to-print-data-in-table-inside-word-file-using-power-automat-or-ms-flow/
[2] Union Expression Discover the #PowerAddicts Secret Weapon: Some Tips and Tricks that Simplify Your Life! (in progress) – Marcel Lehmann
[3] Exception Handling in Power Automate - DEV Community: https://dev.to/wyattdave/exception-handling-in-power-automate-4c4h
[4] Concat Expression to Link to the Flow Run: https://dev.to/wyattdave/exception-handling-in-power-automate-4c4h#:~:text=concat%28%27https://make.powerautomate.com/manage/environments/%27%2c%20workflow%28%29?%5b%27tags%27%5d?%5b%27environmentName%27%5d%2c%20%27/flows/%27%2c%20workflow%28%29?%5b%27name%27%5d%2c%20%27/runs/%27%2c%20workflow%28%29?%5b%27run%27%5d%5b%27name%27%5d%29
[5] Use a connection reference in a solution - Power Apps | Microsoft Learn: https://learn.microsoft.com/en-us/power-apps/maker/data-platform/create-connection-reference
[6] Getting credentials for Microsoft Power Automate | Adobe Document Cloud: https://experienceleague.adobe.com/docs/document-services/tutorials/pdfservices/getting-credentials-power-automate.html?lang%3Den#:~:text=Add%20connection%20in%20Microsoft%20Power%20Automate%201%20In%2cvalues%20you%20generated%20earlier.%20Select%20Create%20when%20done.
▬ EinfachMachen ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
We want to make digitalization simple & easy. That's why we offer Power Platform consulting, training, and our standard apps to help you make digital transformation happen yourself.
▬ Say hi! ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
[email protected]
▬ Web ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
https://www.ema-sh.de/