Hello Everyone!
Currently, I am building the company expense claim app where I have 2 screens. Screen 1 is for just the basic information and screen 2 is the detailed information. On screen 2 there a save button where i want the user to click on the button first then it will store in collection table so that they can view or edit before clicking submit to submit those requests to the SharePoint list. The code for the onselect property of the button is like this:
and for the gallery on the left i want it to show the user request queue when they clicked save button above. But somehow it not showing the data on the right when i tested submit it just said no item to display. How can i make sure that when the user click on their request on the left when they saved it will also appear the collection table? How can i make the gallery to show that information? And how can i also make it editable for user before they submit the form to the SharePoint as well? I’ve been struggling on this.
This is what is in the datasource property. It all the sharepoint that i will be working on.
What is in the DataSource property show that
Hi @FLMike
It seems we might have a miscommunication somewhere let restart. Based on my screenshot above what i mean is that in the item property that you have mentioned to put Gallery4.Selected i did do the same as that but it error as the image below.
I don't know what you are doing. I said just put Gallery4.Selected in the Item property not the datasource property.
Oye.. sorry man I gotta hit the bed you are leaving out so much information and i cant seem to get it from you.
I will say it again. You must set the DataSource, of the Form, to be something that has the data in it, that you want.
Then the item property will the Query OR Record that you want to display.
Do you want to Display the Data thats in the Collection? If so, then in the DataSource, put the Collection name and put the Gallery4.Selected in the ITem property and now you will see it.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
Hi @FLMike
Thank you so much for your clarification on this. As followed, it still require me for a datasource while the datasource would just be from the column of the form.
Hi @Seth18
That is become your Item property is blank
for a Test set it to
GalleryName.Selected, where GalleryName is the name of your gallery, and make sure you select a row in the Gallery Don't click the arrow you have etc, just click the row.
As long as the Form has the Same datasource as the Gallery, it will load that data in it.
Thats why you dont see it, you haven't assigned any data to it.
If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others
Cheers
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey
Hi @FLMike
Below is the item property of the gallery in which show the collection
while for the form as below does not have any data on it
And yes the gallery is setup to have multiple rows as long as the user click on the save button as there are different type of claims in which user can claim.
Hi @Seth18
Please provide the other questions, show me the Items Property of the Gallery itself and the Form.
If the Gallery is selected (which I don't see anything selected), so I cannot tell what you selected. I am guessing those Arrows you have on each Row, is supposed to make it display that record on the Form???
Validate the code in the Arrow
Also, on the Form, please Check the DataSource and the Item property. Because thats the only things left to look at.
Please copy an image of the datasource and Item property please of the form. thanks
I see that you have 2 rows in the Gallery, not 1. Is the gallery setup to have multiple rows? If so I would expect to see them all, I see none.
okay my bad on this but on the problem as above how can we fix it or make it display? Since the Gallery Items property are populated with the proper Collection already yet it not showing!
The steps I gave you are not for Desktop its for web.. why do you think its on desktop?
Please go do the steps and come back with the answers.
WarrenBelz
213
Most Valuable Professional
MS.Ragavendar
108
stampcoin
80