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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / submit image from subm...
Power Apps
Unanswered

submit image from submit form to dataverse image field do not work

(0) ShareShare
ReportReport
Posted on by 68

Hello, 

 

I have a form with several fields in a Dataverse table. One of them is a image field. 
In the edit form i have an image data card , and the image value come from a gallery ( Gallery.Selected.Image2.Image). 

The Submit(editform) save all the data but not the image. 
How can I save the image in the dataverse table image field?


thank you  

Categories:
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @andreagx, Can you please help me what do you have on Update property for image data card? And Are you using attachment control in image data card?

     

    Thanks,

    ANB

  • EmmaX Profile Picture
    68 on at

    Hi @ANB ,

    thank you for your reply.

    update = Image3.Image
    The original control in the edit form, when I add the image flield, form "edit files" is showed something like that

    andreagx_0-1703852549833.png

    image3 has image= If(IsBlank(AddPicture1.Media), Parent.Default, (AddPicture1.Media))

    in this way, when I upload the image from my PC all works and the image saved in the dataverse image field

    andreagx_1-1703852878756.png

    But I need to save an image selected from a gallery (or Sharepoint Library) and not ulpload it.

    If I put the image = If(IsBlank(Gallery_Carta.Selected.Thumbnail.Medium), Parent.Default, Gallery_Carta.Selected.Thumbnail.Medium) in the Image3 control the Submit(editform1) do not work and the image is not saved in the dataverse field. 

     

  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    HI @andreagx , What is item property of gallery? Does the gallery also have image control? If not then add image control in gallery. Example: You added image1 which is image control name. Now refer the this code:

     

     image = If(IsBlank(Gallery_Carta.Selected.image1), Parent.Default, Gallery_Carta.Selected.image1) 

     

    And within the gallery the image property of image1 control will be Gallery_Carta.Selected.Thumbnail.Medium

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.👍

    Thanks,
    ANB


  • EmmaX Profile Picture
    68 on at

    Hi @ANB , 

    The gallery_carta has:

    image =ThisItem.Thumbnail.Medium (Image2)

    andreagx_0-1704112947345.png

     

    image3 in Data Card is = If(IsBlank(Gallery_Carta.Selected.Image2), Parent.Default, Gallery_Carta.Selected.Image2)

    andreagx_1-1704113057229.png

     

    but seems we can not do this 

    andreagx_2-1704113257879.png

    but we can in a similar way 

    If(IsBlank(Gallery_Carta.Selected.Thumbnail.Medium), Parent.Default, Gallery_Carta.Selected.Thumbnail.Medium)
     
    In this case, i can view the image,  but the issue is that the form can't be save the data. No error returned, just it do nothing). The button has: submit(editform1)  
    The only way to put an image into dataverse field is upload it with AddPicture1 control. 😞 
     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 320

#3
Mohsin Ali Profile Picture

Mohsin Ali 246

Last 30 days Overall leaderboard