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

Copy field data from gallery to a new screen

This seems to me it should be the simplest thing in the world but after hours of searching and trying -- I still can't seem to get this.  I have a gallery that has a "Title" field in it -- lets say the title is "My Major Project".  I'd like to select that gallery item, navigate to a new screen and have "My Major Project" show up in a (non-editable field) as a header on my new screen.  I'm not looking to have it show in another gallery. 

 

I also have a another case where I'd like to use that field to Patch into a different sharepoint list.  I can get the Patch figured out...just not how to get "My Major Project to show. 

 

Can't believe I'm having so much trouble with something that surely is not all that complicated 🙂

 

Thank you in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Copy field data from gallery to a new screen

Another option if you don't want to deal with variables for it is to simply reference the gallery in your label.

 

Set the Text property to YourGalleryName.Selected.Title

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

4 REPLIES 4
Highlighted
Anonymous
Not applicable

Re: Copy field data from gallery to a new screen

In gallery onclick function set a variable as follows

 

set(selectedItemTitle,ThisItem.Title);

 

use the variable in the next page

Highlighted
Super User III
Super User III

Re: Copy field data from gallery to a new screen

Another option if you don't want to deal with variables for it is to simply reference the gallery in your label.

 

Set the Text property to YourGalleryName.Selected.Title

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.

View solution in original post

Highlighted
Post Patron
Post Patron

Re: Copy field data from gallery to a new screen

Thank you ever so much.  I have no idea why that has given me such a hard time when I've gotten over lots of other more difficult hurdles.  But, thanks so much for clearing the path for me and for showing me how to do it two different ways.  I am still struggling to get a grasp on using variables so your example provides gives me a simple one to help launch my understanding!  

Highlighted
Post Patron
Post Patron

Re: Copy field data from gallery to a new screen

Thanks to both of you.  I just now realized two people offered help! 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,351)