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 Platform Community / Forums / Power Apps / Visibility based on user
Power Apps
Answered

Visibility based on user

(1) ShareShare
ReportReport
Posted on by 43

Hi,

 

I would like to add an icon to a gallery connected to a document library which is only visible if the app user has added an item to a SharePoint list.

 

The gallery is a document library which shows the user several folders.  In the next gallery, they can see the files within those folders.  

 

I have been working on an annotation feature so if the user wants to make a note about a file, they can add it on the app and it will save in a SharePoint list which records the users email and the file name.

 

Is there a way of making the icon in the gallery visible only if a user has added an item to the SharePoint list?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    Suchitra1996 Profile Picture
    185 on at

    @ell1990 

    Hi,

     

    You can set below formula on App "OnStart" property

    Set(UserName,User().FullName);

     

    and then set the "Visible" property of the icon to the below:

     

    If(ThisItem.'Created By'.DisplayName=UserName,true,false)

     


    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard