web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Edit Forms

(0) ShareShare
ReportReport
Posted on by 45

Hi I'm new to building powerapps solutions. Is there a way to separate an edit form for end users to edit form for admin users?

Categories:
  • LRVinNC Profile Picture
    2,297 on at

    Yes, you can show different users different forms, based on the identity of the user who is connected.  When your application first runs, it will execute anything you have in the App section which appears above your first screen in the Tree View.  You can use either a hardcoded list of users or, preferably a list of admins.  In the example below, I have an app which is only available to authorized editors.  If they aren't in the list of editors, I show them a screen which tells them they are not authorized to use the app.  In your case, you would show them the screen you intend non-admins to see.

     

    Set(CurrentUser,User().Email);
    If(IsBlank(LookUp(AuthorizedEditors, EditorEmail = CurrentUser).EditorEmail),
            Navigate(NotAuthorizedScreen),
            Navigate(HomePage)
    )

     

  • almendoza26 Profile Picture
    45 on at

    @LRVinNC 

     

    It's nice to know that this is possible. 

     

    We're still planning to build an app that will use this kind requirement.

     

    I will reach out again when it has been decided.

     

    Thanks

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @almendoza26 ,

     

    You can always use User and If function to show different content for different current user in PowerApps. The formula should be something like:

    If(User().Email="xxx@xx.com",FORMULA1,User().Email="xxx@xx.com",FORMULA2,FORMULA3)

     

    For more information, please refer to:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-user

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-if

     

    Regards,

    Mona

     

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard