cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IzabEwa
Helper IV
Helper IV

Gallery pasting information into a form

Hi

I want to create an where the gallery displays customer list, but when an item is pressed the data gets inserted into an edit form. 

Is that possible?

I tried putting 

 

Set(varID,ThisItem.Id)

 

in the OnSelect property in Gallery, and 

 

LookUp(LookUp(datasource,Id-varID))

 

in the item property in the form

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @IzabEwa ,

 

On gallery  OnSelect try below code.

Set(varID,ThisItem)

 

For all the controls in the edit screen try code like below 

varID.ColumnName

 

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.

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

View solution in original post

3 REPLIES 3
PG_WorXz10
Resident Rockstar
Resident Rockstar

Hi @IzabEwa , 

 

Correct me if I'm wrong. 

 

You want to select a item from the gallery and want to show all the details of the selected gallery item in edit page ? 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

yes

 

Hi @IzabEwa ,

 

On gallery  OnSelect try below code.

Set(varID,ThisItem)

 

For all the controls in the edit screen try code like below 

varID.ColumnName

 

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.

 

If this post was helpful or you need more help please consider giving Thumbs Up and Tag me in your reply I'll be happy to help. If this post helped you solve your issue please click Accept as solution and provide Thumbs Up. This will help others find it more readily.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,024)