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?
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