web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Storing Image from Sha...
Power Automate
Answered

Storing Image from Sharpoint List as Base64 code in SQL

(0) ShareShare
ReportReport
Posted on by 55

I have a flow where I get Base64 code of a stored attachement in Sharepoint List. I store this Base 64 value in variable (as seen in the screenshot), and its the correct Base64 code of the image that works. I want to save the Base64 code in SQL  Image type column so I can then work with it. But when I insert the variable with the base64 code into the "SQL insert row" the value of the variable changes. Does not matter if its png, jpg or PDF - it always change the code into something else, that does not work. 

 

Dont anyone know why ?

  

Output of variable is different from output of "Inser row SQL", even tho its the same variable.

help.png

 

Thanks for help.

Categories:
I have the same question (0)
  • Verified answer
    Khaston Profile Picture
    55 on at

    Found the problem, The action "SQL insert row" automatically adds "Base64()" function to Image type columns (see screenshot below). So I had to open the action as a code and delete the automatcally added function so it not convert twice.

    Khaston_0-1710147599472.png

     

  • GuilhermeDoel Profile Picture
    2 on at

    Hello, Khaston! How are you?

     

    Can you please share your flow showing how do you get the base64 code from a image column from a sharepoint list?

    I'm trying to do that for days and i can't do.

     

    Thank you!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard