cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
octaking
Helper V
Helper V

gallery that fills controls on another screen

I have a gallery which only shows 2 fields of a sharepoint list and a gallery button navigates to another screen on which there are controls that I need to fill according to the selected element of the gallery since in this screen I will show all the fields of the list.

 

This is my list with all fields

download (1).png

 

 

this is my gallery with 2 fields

download.png

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User III
Super User III

Hi @octaking 

One way to do this is to use a display form on your second screen - this is the way that the standard 'auto generated' apps work.

On your display form, you would set the DataSource property of your form to your SharePoint list, and the Item property to the 'Selected' property of your gallery control.

image.png

 

If you choose not to use a form, you could add labels to your second screen and set the Text property using syntax that looks like this:

BrowseGallery1.Selected.SharePointColumnName

You would replace SharePointColumnName with the column that you want to display in your label.

 

View solution in original post

3 REPLIES 3
timl
Super User III
Super User III

Hi @octaking 

One way to do this is to use a display form on your second screen - this is the way that the standard 'auto generated' apps work.

On your display form, you would set the DataSource property of your form to your SharePoint list, and the Item property to the 'Selected' property of your gallery control.

image.png

 

If you choose not to use a form, you could add labels to your second screen and set the Text property using syntax that looks like this:

BrowseGallery1.Selected.SharePointColumnName

You would replace SharePointColumnName with the column that you want to display in your label.

 

View solution in original post

thanks this worked for me

v-xida-msft
Community Support
Community Support

Hi @octaking ,

Have you solved your problem?

 

Based on the needs that you mentioned, I think the a Display form control could achieve your needs. Within your next screen, add a Display form, connect it to your SP list, set the Item property to following:

Gallery1.Selected

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (3,185)