web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Creating PDF off CDS Data
Power Automate
Answered

Creating PDF off CDS Data

(0) ShareShare
ReportReport
Posted on by 65

Hi all,

 

I have a canvas app which interacts with CDS and saves a set of data within. I want to create another button to "Create and send PDF". I have a really tight timeframe to get this completed and I have had a look online and the way in which this is achievable seems to be by the Plumsail template.

 

From reading this I have to grab the document from SharePoint and populate the DOCX template, then convert this to a PDF within the same Flow steps. Is this the only way to do this or is has there been improvements to this functionality within Flow?

 

I think want to store the document I have sent again the CDS record it has been generated from. What are the steps involved to do this? Do I need to turn on SharePoint integration and do it that way?

 

Thanks

 

 

Categories:
  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @mattyn07 

     

    Flow action 'Populate a word template' is the native connector which flow offers. Plumsail connector has much more features than standard flow word template. 

     

    You can generate the word document in onedrive or SharePoint or your local drive (via Gateway connection). 

     

    If you looking to attach the document under CDS entity then you need to use the Notes entity to attach the document, then set the regarding id of the record (Contact, Account or Custom entity).

     

    Here are some useful links.

     

    https://blog.crossjoin.co.uk/2019/01/26/generating-reports-using-word-documents-and-flow/

     

    https://powerusers.microsoft.com/t5/Building-Flows/how-to-add-notes-attachment-in-model-driven-app-using-microsoft/td-p/318433

     

    Thanks

     

     

  • Mattnoble07 Profile Picture
    65 on at

    Hi,

     

    Thanks for that.

     

    I get the docx out of that but i then need to convert that to a PDF. I read the only way to do this was via the Plumsail connector or am I mistaken?

     

    Thanks!

  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi @mattyn07 

     

    Try the below.

     

    image.png

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @mattyn07 ,

     

    @abm 's correct, Microsoft flow OneDrive connector has a "Convert file" action, you could create the word document in your OneDrive for business, and use the "Convert file" action to convert the word to pdf.

    Please feel free to ask here if you have any problem.

     

    Best regards,

    Alice   

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

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard