cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Model driven app copying image from quickview control to form

Hello everyone

 

I am copying data from a quickviewform to a normal form using Javascript. If you look at the script in the attachments  you can see that i get the values out of a quickviewcontrol and into the normal form. The 2 string values are copying but the image isn't. Can someone help me to copy that image?(the image is the foto variable)

2 REPLIES 2
mvdb
Advocate I
Advocate I

hi @jorenchristiaen,

I'm struggling with this as well. My other values get copied from the QuickViewForm to my MainForm using a "getAttribute.. getValue() on a OnSave-event. But this doesn't work when the content of a field that needs to be transferred from my QuickView to my Main is an Image.

Could someone help please?

EricRegnier
Super User
Super User

Hi @jorenchristiaen,

Are you using an Image column/field? If so, see this documentation on how to retrieve and set image columns/fields: https://docs.microsoft.com/powerapps/developer/data-platform/image-attributes#retrieve-image-data 

Hope this helps!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Users online (4,211)