Notifications
Announcements
Hello,
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.
@Anonymous Set the Item property of the EditForm to yourgallery.Selected
Sorry but i did that already, is it so that i am using one screen for edit, new en display that that is the issue?
and i have another problem with filter user see attachments.
@Anonymous
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:
EditForm(Homescreen_Form)
In the New button, set the formula in the OnSelect action to:
NewForm(Homescreen_Form)
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.
If This is common on a gallery it is good for me thnx for help 😉
Sounds good.
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.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268