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)
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
24 | |
20 | |
9 | |
8 | |
8 |
User | Count |
---|---|
40 | |
33 | |
26 | |
22 | |
13 |