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 Apps / Patch SP list image co...
Power Apps
Unanswered

Patch SP list image column

(0) ShareShare
ReportReport
Posted on by 62

Hi everyone,

I'm trying to add a photo to a sharepoint list.
I use Modern Controls for this in my App.

kalakosha_0-1710341157200.png

 

And when i use the Patch function i get an error.

kalakosha_1-1710341372753.png

 

Patch(
 Library;
 Defaults(Library),
 {
 Title: txtTitleBook.Value,
 booksAuthor: txtAuthorBook.Value,
 Year: Value(txtYearPublication.Value),
 Image: Image1.Image,
 Status: {Value: "free"}
 } 
)

but why? My SP list has image-type column (Image) and I use image control (Image1) inside Image Datacard.
What am I doing wrong?
Thanks in advance!

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,731 Most Valuable Professional on at

    Hi @kalakosha ,

    You cannot create a file/record in a Library with Patch in Power Apps - you need to use Power Automate.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

  • Kalakosha Profile Picture
    62 on at

    Hi @WarrenBelz,

    thank you for your reply and clarification. I confess, I was expecting exactly your answer. For some reason I wanted so much... 🙂

    I found exactly what the problem is.

    Firstly, in my case  "Library" it's not a document library, it's a name of SP list.

    Now to the problem itself.

    As it turned out, it's all about this symbol: ";"

    kalakosha_0-1710756966572.png

    The fact is that in the Russian-language interface arguments are separated by semicolons, unlike the English-language interface, where arguments are separated by commas.

    kalakosha_1-1710757275072.png

    Аnd when I switched to the English-language interface - for some reason this symbol was not recoded from a semicolon to a comma.

    Therefore, it was enough to replace this symbol with a comma.

    Which I did. And so far everything is working great.
    Thank you again for not ignoring my ticket!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 301 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 297 Most Valuable Professional

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard