cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shafeel_07
Helper II
Helper II

How to add images dynamically to Microsoft Word Template using User Control.

Hi Community, 

 

So i have work items in Azure Devops and I'm using flow to copy some of the work item details in to a Microsoft Word Template. Since some of your Repro Steps have images ,when im copying the repro steps into the word template, the images are coming up as URLs instead of the actual image. Is there a way to convert the urls into actual images ? Any help would be much appreciated !

 

Thanks for the help in advance ! 

2 REPLIES 2
DamoBird365
Super User
Super User

Hi @Shafeel_07 

 

Ideally you want to supply your image as an object with content-type and content key/values as follows:

 

DamoBird365_0-1627025303069.png

 

This is how file content is returned to flow when you run "get file content" action.  

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here and like & subscribe to my YouTube Channel thanks 😉

 

 

Hi @DamoBird365

 

I have looked into your solution. I'm assuming you had created an Image User Control in the template and populated this user control in the flow. This works perfectly fine. Although what I was looking for was somehow using the RichText User Control to have both text and images so whatever is produced in the discussion text in AzureDevops Work item. I've attached a screenshot of what is written in the discussion field in AzureDevOps. So whatever is written in this field i want to populate it in a word doc

 

 

Shafeel_07_0-1627520424332.png

 

Thanks !! 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,854)