Hello Everyone,
I have a problem, maybe it is too obvious to see the solution, but I couldn't get through it.
Note on the codes: European Powerapps, we use ;=, etc.
I have Sharepoint lists:
- Users
- Homes
- Surveys
These are relational lists, Users, have several Homes, Homes have several Surveys.
I would like to help to fill in forms, like if somenone fills a Survey, based on the choices before, they do not have to find their Homes, because it is prepopulated.
Now I made a Gallery for Users, they pick one and they go to another Gallery for the Homes, filtered only for the selected Users. When they start to fill in the Survey I would like that the Home column would be prepopulated according to the selection on Gallery Homes.
Now I only have filtered the dropdown menu from all Homes, to the one that the user previously selected. But still have to select.
I made this with global variable.
Items of Survey.Homes:
Filter(Choices([@Survey].Homes);Id=SiteIndex)
Siteindex defined Onselect at GalleryHomes:
Navigate(Survey;None; {SiteIndex: GalleryHomes.Selected.'Home index'})
But I couldn't use any Default value, or other solution. I would avoid patch, if it is possible.
Thank you,
Gabe