I had created a power app from a simply excel sheet. I had a gallery showing this data and on another screen I had a form mode edit that would show the data from what was selected in the gallery. pretty simple.
I then create another power app and used data I imported into a list. I have a split screen, gallery on one side and an edit form on the other side. Gallery and edit form both connected to the sharepoint list.
My gallery shows just fine, but on the right screen edit form I use one of the card inputs fx to ex. 'gallery1.selected.projecttitle'. I can see that is provides me the project title, but when I save this and play, it shows me the gallery, but on the right it shows me "no item to display"
Why is it doing this? if I stop play and am in edit, I can literally see the edit form and the selected.projecttitle, but in play I get a blank screen.
Hi @gstlouis - sorry that was a typo, I meant DataSource property, not Default.
As I assume you're aware now, the Table schema for the DataSource and Item property must be the same in order for the Form control to function correctly.
If there's nothing else, please accept the solution to close this thread.
1) Provide Data Sources to your from same as SharePoint list that are you giving to the gallery
2) at item property of form gallery.seleted
3) default mode set to edit
4) and at item property of textinput to parent.Default
Hi
Thank you for taking the time to reply. You have provided me the solution. I knew there was something missing, but I couldn't put my finger on it.
In my form I had not provided the path for Item
The form only had the dataSource connected to MS lists. I forgot about the item that needed to be pointed to the gallery.Selected to display the item itself.
I do not have Default, but DefaultMode, which is edit. Please disregard the rest ex was for example etc.
Thank you again!
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional