Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

ExportPdfDocument called from Power Automate missing related table fields

Posted on by

We have a flow that generates a PDF document based on a custom table.

When the power automate calls the Dynamics API ExportPdfDocument, the PDF document is created except for the address field, which is blank.  The address field is in the contact table associated with the custom table.

I've put a get row by Id into the flow on the step before - which confirms the address is there.

If use the Export to PDF button on the record within Dynamics, the Preview / generated PDF has the address.

I'm hoping someone has seen this issue before.

Thanks in advance

Glenn

  • Suggested answer
    Jim Daly Profile Picture
    Jim Daly on at
    ExportPdfDocument called from Power Automate missing related table fields

    ExportPdfDocument message is a private message that isn't supported for use. Learn more about private messages.

  • Glenn.J Profile Picture
    Glenn.J on at
    RE: ExportPdfDocument called from Power Automate missing related table fields

    Thanks Leah,

    The first link is the process I followed.  All the other fields merge find through the automation.   Just not the multi-line address field.

    Will look through the other two links to see if they work better.

  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: ExportPdfDocument called from Power Automate missing related table fields

    Hi Glenn,

    Could you share each steps about your flow?

    You mentioned that you are using Dynamics API ExportPdfDocument in power automate, you can refer to the following link:

    https://2die4it.com/2019/08/20/generate-pdf-from-document-templates-in-cds-dynamics-365-ce-using-native-web-api-with-flow/ 

    Or you can try to another way to achieve your goal:

    (1)Create and call action in the power automate to generate word document:

    https://onlinemgblog.wordpress.com/2021/04/14/invoke-d365-otb-word-templates-from-power-automate/ 

    (2)convert word to PDF in power automate:

    https://optimallogics.com/convert-word-to-pdf-using-power-automate/ 

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,988 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,656 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans