I have made a Gallery with data i had some results standing in there.
but when i open the app i see no result only when i clicking on one of the gallery items.
How can i get for example that you get a result directly by opening the app.
Solved! Go to Solution.
First change your Form Mode to Edit and get rid of the formula you have in there, it will not work.
Then on the right arrow Icon in your Gallery, add the following formula:
In the New button, set the formula in the OnSelect action to:
I hope this is helpful for you.
I am using the formula If(FormMode = FormMode.New; VarUserID; ParentDefault) to filter my app for that particular user.
I use on Start App this formula Set(VarUser; User());; Set(VarUserID; 'Office365-gebruikers'.MyProfileV2().id)
That may be the case, but you have this on the DefaultMode property of the form. It makes no sense because the Default mode requires that you provide a mode. In your case, you're providing (based on your If statement) either a user id or a screen default value (which does not exist).
If you want to filter for a particular user, then this is something you would do in the Items property of your Gallery, not in the DefaultMode property of the form.
Hey Randy your absolutly right it makes no sense but i am somethimes troubling with some defaultmodes this becomes of the videos that i follow and try to learn from it.
I have changed it but and i have no error but on start my screens is still the same i see know items a the right sight of my screen.
What do you want on the right side when the app starts? If you took the suggestions I made, then it should be empty until an item in the Gallery is selected.
I was going to suggest that if you wanted the first item to be in the form when it is opened, then just make sure your Item property on the form is pointing to the selected item in the gallery and then make sure the form is in Edit as the Default mode.
Check out new user group experience and if you are a leader please create your group
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.