Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Word template document to pdf conversion does not pick up dynamic content in Flows

Posted on by 45

Requirement  -  to create a summary of a record in pdf format and save in SharePoint 

Problem  :  document generated from the word template shows data only when viewed on MS Word online, when downloaded , the word template XML tags appear, this does not happen when running the word template manually from CRM

Options explored : 

  1. Word template - does not convert to PDF correctly , retains the template tags 
  2. Adobe connector for flows - requires license
  3. Custom code using Itextsharp and Word libraries - not preferred , trying to keep it low code
  4. Use an html template and replace the tags with dynamics values (preferred option)

At the moment option 4 is my preferred option if the template need not be changed by business users , any suggestions of working solutions other than the ones mentioned above would be really helpful

  • Suggested answer
    RE: Word template document to pdf conversion does not pick up dynamic content in Flows

    Hi tanay@D365,

    Please try adding some seconds of delay between Word template creation and PDF file generation in Power Automate.

    Try 30 seconds for example in order to have enough time to have all fields filled and word file created.

    For more information please check: docs.microsoft.com/.../wait-conditions.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans