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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / CDS image field to wor...
Power Automate
Answered

CDS image field to word document template without Onedrive

(0) ShareShare
ReportReport
Posted on by 3,224

I have a series of image fields in CDS/Dataverse that I am inserting to a word document template with Power Automate. What I've found when I use the get file or image contet step in CDS current environment connector, I cannot insert that in my template because it says that it isn't a supported format like JPG or PNG; however, if I save the file to onedrive for business, then get the file contents of that file, I can add that image to my word template.

 

The problem is that there are a bunch of these files and the flow takes over a minute to complete, and if several of these happen at the same time, soemtimes the file upload step fails (seems I'm overwhelming Onedrive for Business).

 

Is there any way to do this without having to save to Onedrive?

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @jlindstrom 

     

    Construct a compose and add the below mapping

     

    {
    "$content-type": "image/jpeg",
    "$content": " CDS/Dataverse Image encoded blob"
    }

     

    Finally map the output compose to your word template.

     

    Thanks

  • Joel CustomerEffective Profile Picture
    3,224 on at

    thanks @abm 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard