cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Conditional Format of Word Doc

I have an interesting issue I'm hoping you can help with. 

 

What I currently have (works fine) : 

  • PowerApp connected to a Sharepiont Custom List
  • Flow that grabs each new record from SP list, creates a .doc, converts .doc to .pdf
  • Flow uploads .pdf to a SP Document Library

I need to conditionally format some of the items in the .pdf in red based on what is entered in the PowerApp. 

 

Example: 

  • If user marks a question in the PowerApp with "Exceptions Taken", I need the final .pdf to turn that item red to attract the eyes of the person reading. 

 

Anyone know of a way to accomplish this somewhere in the Flow? I'm thinking of a way to grab the .doc and apply conditional formatting there, but I dont' know how to go about it. 

 

Thank you

2 REPLIES 2
v-yuazh-msft
Community Support
Community Support

Hi @ericonline,

 

Do you want to format some of the items in the .pdf in red with microsoft flow?

Where is the items in the .pdf?Is it in the sharepoint?

 

If you would like to format some of the items in the .pdf in red with microsoft flow, I afraid there is no any way in Microsoft flow could achieve yoour needs.

 

Best regards,

Alice

Hello @v-yuazh-msft

 

I understand that conditionally formatting a finished .pdf is not possible. I'd like to "grab" the content before the .pdf is created and turn it red based on text. 

 

  • Somewhere between the PowerApp and the Sharepoint List
  • Somewhere between the Sharepoint List and the Word doc that is created
  • Somewhere between the Word doc and the PDF

I'm using an advanced method which uses a doc repo with columns that match the original Sharepoint list AND a Word doc with Quick Parts / Document Properties. 

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,000)