Is there a way to create an If statement for the Visibile property on a button to only display if the current user has Create item permission on the list?
Is there a way to show a particular OnStart screen based on who the user is?
Solved! Go to Solution.
You can use the onStart function or onvisible depending on your use case
You can use the User function (https://powerapps.microsoft.com/en-us/tutorials/function-user/) or the office 365 connector (https://powerapps.microsoft.com/en-us/tutorials/connection-office365-outlook/) to find out who the user is and navigate to a particular screen based on the user.
I have tried using DataSourceinfo.CreatePermission but that does not work. Other users have pointed out this issue.
What screen property would you set to enforce a specific startup screen?
Could this be used for a group of users?
You can use the OnStart property. That will trigger the once when the app is run.
You can check if the user belongs to a table (eg. an admin table). Take a look at the Filter function (https://powerapps.microsoft.com/en-us/tutorials/function-filter-lookup/)
In this old post: https://powerusers.microsoft.com/t5/General-Discussion/Is-it-possible-to-switch-the-view-as-InfoPath... I talk about using membership in AD groups to control the visibility of UI elements.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.