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 / Inserting image into C...
Power Automate
Answered

Inserting image into CDS image field with flow

(0) ShareShare
ReportReport
Posted on by 156

Hi Guys,

Now with the "Image" datatype available in CDS, I need to populate this field from powerautomate flow. The idea is to:

- Publish a flow with http trigger (json input)

- Third party applications will call the flow with two input fields: record id and the image as "binary string".

 

I am not sure how to accomplish this.

- Are the images saved in base64 format?

 

Looking forward.

- S

Categories:
  • Verified answer
    Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Symira 

    You can use the below CDS Action

    Mira_Ghaly_0-1611739815060.png

    You need to pass the content as JSON format as below:

    {

    "$content-type": "image/png",
    "$content":"base64string"

    }

    Mira_Ghaly_1-1611741409128.png

    Then use the upload file or image dataverse / CDS action:

    Mira_Ghaly_2-1611741538093.png

     

     

  • Symira Profile Picture
    156 on at

    Many thanks @Mira_Ghaly , that worked!

  • Symira Profile Picture
    156 on at

    Hi @Mira_Ghaly ,

     

    Just one more question. Now that I can insert images and files, I was keen to know how to delete these. Composing a JSON with $content empty string ("") or "null" doesn't actually delete the image/file field (please refer the following two images)

    Symira_0-1612644548859.png

    Symira_1-1612644680577.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard