cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaunSmith
Regular Visitor

Help adapting tutorial to create PDF from document

Hi everyone,

 

I am attempting to follow a tutorial to create PDFs from a spreadsheet that I found here:  https://flow.microsoft.com/en-us/blog/convert-pdf-with-microsoft-flow-nov-2018

 

My problem is that I am stuck at step 6.  My flow runs successfully, however the tutorial indicates that if there is nothing within the brackets after Row: [] this means that it has not found the required file and I cannot progress.

 

I am trying to alter it as I need to trigger the flow from Forms instead of Power Apps.  I am using forms to create responses which will populate fields in one specific file and then generate a new PDF of that file.  As the file name and path will not change I have altered step 2 so that I am using the specific name and path that lead directly to my document instead of dynamic content from Power Apps (or in this case Forms)

 

Is there something I can do to check whether my file is actually being found or not?

 

Forms Test snip.PNGForms Test snip 2.PNG

2 REPLIES 2

Have you tried using a Word template within SharePoint? You can populate the Word template with the Form values. Then you can convert the Word document to a PDF using the "Word Online" connector.

 

I wrote a blog that covers this. You may need to skip the parts unnecessary to you, but I cover how to use this solution.

 

https://dynamicsbackpage.wordpress.com/2019/11/24/generating-dynamic-word-documents-for-dynamics-365...

v-bacao-msft
Community Support
Community Support

 

Hi @ShaunSmith ,

 

You could consider using the features available in Flow to achieve your needs.

If you have obtained the item ID, then you can consider the following methods to achieve your needs.

232.PNG233.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,418)