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

Community site session details

Session Id : Z210oZqQWFayjhpbhxlBjp
Power Automate - Building Flows
Answered

Creating PDF off CDS Data

Like (0) ShareShare
ReportReport
Posted on 26 Apr 2020 22:10:24 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

 

 

I have the same question (0)
  • Verified answer
    v-alzhan-msft Profile Picture
    on 27 Apr 2020 at 03:26:51
    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,506 Most Valuable Professional on 27 Apr 2020 at 00:18:08
    Re: Creating PDF off CDS Data

    Hi @mattyn07 

     

    Try the below.

     

    image.png

  • Mattnoble07 Profile Picture
    65 on 27 Apr 2020 at 00:12:21
    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,506 Most Valuable Professional on 26 Apr 2020 at 23:18:15
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2