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
this is my gallery with 2 fields
Solved! Go to Solution.
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.
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.
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.
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.
thanks this worked for me
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,
User | Count |
---|---|
133 | |
132 | |
97 | |
75 | |
74 |
User | Count |
---|---|
206 | |
196 | |
70 | |
60 | |
52 |