Skip to main content

Notifications

Power Automate - General Discussion
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?

  • Re: CDS image field to word document template without Onedrive

    thanks @abm 

  • Verified answer
    abm abm Profile Picture
    abm abm 32,288 on at
    Re: CDS image field to word document template without Onedrive

    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

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard