Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

button visible for some user and hide for some user

(0) ShareShare
ReportReport
Posted on by 525

Hello Power app community support ,

 

I have 2 buttons one is for send mail notification and one is for send emergency ticket on mail notification

 

1 button  i want to hide for users and show to admins only i have more then 30 admin id and DL ID ,

 

2 button i want to hide for admins and show to all users ,

 

how do i set without connect Azure AD ?

 

as i mention i have more then 30 admin ID and 10 DL ID's

 

  • jaanihsm Profile Picture
    300 on at
    Re: button visible for some user and hide for some user

    Hi @WarrenBelz!

     

    This did the trick! Thank you as always. 😊🙌

  • Verified answer
    WarrenBelz Profile Picture
    146,605 Most Valuable Professional on at
    Re: button visible for some user and hide for some user

    @jaanihsm ,

    I would suspect you need 

    Members.DisplayName = User().FullName

    but if this is not the case, please post a new thread with a bit more details on what you are doing.

  • jaanihsm Profile Picture
    300 on at
    Re: button visible for some user and hide for some user

    Hi @WarrenBelz!

     

    Will a similar formula work when the column is a person column instead of text for email?

    I tried this but I get 'incompatible types for comparison' error?

     

    jaanihsm_0-1720214985744.png

    Thanks for your help!

  • WarrenBelz Profile Picture
    146,605 Most Valuable Professional on at
    Re: button visible for some user and hide for some user

    @mbhatt ,

    Your last post said it worked - we are now 38 responses into this thread on this quite fundamental matter and I do not think I have any more to offer - if any of the other responders wish to continue, please feel free.

  • mbhatt Profile Picture
    525 on at
    Re: button visible for some user and hide for some user

    Hello ,

    @WarrenBelz 

     

    with this code there is an error with this button as i mention i enter Email Id on Title columns 

     

    only myself not able to visible this button but i want all email id on title columns  to can not see this button 

     i applied this code on visible 

    IsBlank(
     LookUp(
     YourListName,
     Title = User().EMail
     ).Title
    )
  • mbhatt Profile Picture
    525 on at
    Re: button visible for some user and hide for some user

    hello 

    @WarrenBelz 

    i provided to view permission to everyone now its better . now its work. 

  • WarrenBelz Profile Picture
    146,605 Most Valuable Professional on at
    Re: button visible for some user and hide for some user

    @mbhatt ,

    You need to test this on your model - generally I give Contribute if they have to add any data.

  • mbhatt Profile Picture
    525 on at
    Re: button visible for some user and hide for some user

    hello 

    @WarrenBelz 

     

    ok got it its ok if i give only view rights of this list ? 

  • WarrenBelz Profile Picture
    146,605 Most Valuable Professional on at
    Re: button visible for some user and hide for some user

    @mbhatt ,

    Yes all users need permission for both lists

  • mbhatt Profile Picture
    525 on at
    Re: button visible for some user and hide for some user

    hello 

    @WarrenBelz 

     

    i try to give list view access from sp list for 1 user .now he will able to see this button 

     

    so is there any permission isuue ? 

    thay i have to allow everyone ? 

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard