Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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

 

 

  • Verified answer
    v-alzhan-msft Profile Picture
    on at
    Re: Creating PDF off CDS Data

    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.

     

     

  • abm abm Profile Picture
    32,500 Most Valuable Professional on at
    Re: Creating PDF off CDS Data

    Hi @mattyn07 

     

    Try the below.

     

    image.png

  • Mattnoble07 Profile Picture
    65 on at
    Re: Creating PDF off CDS Data

    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
    32,500 Most Valuable Professional on at
    Re: Creating PDF off CDS Data

    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

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1