Skip to main content

PowerApps CDS Uploading and Viewing Images

Code Function snippets used

Concatenate("data:" ,ThisItem.mimetype,";base64, ",ThisItem.documentbody)

"<div> <img src=’data:image/png;base64, {b64 here}}’ /> <h1>John Doe</h1> <p class=’title’>CEO & Founder, Example</p>

</div>"

"<div> <img src=’data:image/png;base64, "& vFirstImage.Document &"’ /> <h1>" & Text( Concatenate(gRegs.Selected.Firstname," ",gRegs.Selected.Lastname) &"</h1> <p class=’title’>"& Concatenate("Job ",gRegs.Selected.Jobtitle)& "</p>

</div>"

Charles Osei

Dynamics 365 Consultant @ RSM MCSE Business Applications Computer Science – University of Lincoln 2017 Nottingham D365/CRM user group Chapter Leader TDG – Community leader Twitter @charliedevxyz LinedIn https://www.linkedin.com/in/charlesosei/

Leave a Reply

%d bloggers like this: