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
Solved! Go to Solution.
You can use the below CDS Action
You need to pass the content as JSON format as below:
{
"$content-type": "image/png",
"$content":"base64string"
}
Then use the upload file or image dataverse / CDS action:
You can use the below CDS Action
You need to pass the content as JSON format as below:
{
"$content-type": "image/png",
"$content":"base64string"
}
Then use the upload file or image dataverse / CDS action:
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)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
14 | |
13 | |
10 | |
10 | |
9 |
User | Count |
---|---|
30 | |
21 | |
15 | |
13 | |
12 |