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 / Gallery "Unread messag...
Power Apps
Answered

Gallery "Unread message" symbol

(0) ShareShare
ReportReport
Posted on by 160

Hey,

 

in my gallery it shows different news entries:

wshalex123_3-1670839696587.png

 

 

I want a user to see if there is any unseen message for him. So i created these green dots wshalex123_1-1670839499658.png, which should visualize if the user has already clicked on the right arrow button  wshalex123_2-1670839548064.png or not. This is the solution i made it with:

Solved: Hide a button in a gallery on select - Power Platform Community (microsoft.com)

 

Problem: 

Every time a user refreshes the App in MS Teams, it also refreshes the formula collection behind the green dots visuality. Is it possible to exclude this from a refreshing of the app? The goal is, that every single user should see on his screen if he has ever clicked on a news entry or not.

 

Woudl appreciate any help!

 

Thanks 😄 

 

 

Categories:
  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @wshalex123 

     

    What is your data source for these items? Is it SharePoint, excel, or maybe dataverse?

     

    I'm asking cause what you can do on the backend is add another column on your data to store information on whether the message has been read. 

  • wshalex123 Profile Picture
    160 on at

    Hey @cha_cha,

     

    the News feed is coming from one single sharepoint list, which is being feeded by many other sources. 

     

    Good idea, but in sharepoint it's not possible and even if: i can not make these entries individually "user based"

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @wshalex123 

     

    May I see the data structure of that SP list? 

    How many users do you have?

  • wshalex123 Profile Picture
    160 on at

    Hey @cha_cha,

     

    wshalex123_0-1670845952298.png

    wshalex123_1-1670845994534.png

    It are around 50 office users who access my App daily

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @wshalex123 

     

    Do you think it's possible to assign a column ID on that list?

     

    I'm thinking of using a Simple SharePoint List to solve your problem. but would need confirm first if a column ID is possible.

     

     

  • wshalex123 Profile Picture
    160 on at

    hey @cha_cha 

     

    what exactly do you mean by column id? A unique key for every row? I would need to make a column for every user in the company. And manuelly delete/add one in case of em- & deployment 

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @wshalex123 

     

    Not really, I want to know if it's possible for each new row, can you add a unique ID? preferably an incremental integer.

     

    cha_cha_0-1670846665555.png

     

  • wshalex123 Profile Picture
    160 on at

    @cha_cha 

     

    Yes this should be no problem

  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @wshalex123 

     

    This is my solution for your case:

    https://youtu.be/0JoZMGOpD3Y

     

    I hope you understand what I am showing.

     

    Here are the codes:

    App OnStart:

    Set(varUser,LookUp('User Logs',Title=User().Email));
    
    If(IsBlank(varUser),Set(varUser,(Patch('User Logs',Defaults('User Logs'),{Title:User().Email,ReadNews:""}))));
    
    ClearCollect(colViewLogs,Split(varUser.ReadNews,"#"));

     

    Circle.Fill

    If(ThisItem.ID in colViewLogs, RGBA(80,80,80,1),RGBA(0,200,0,1))

     

    When clicking the news:

    If(!(ThisItem.ID in colViewLogs),
     Patch('User Logs', varUser,{ReadNews:Concatenate(ThisItem.ID,"#", varUser.ReadNews)});
     Set(varUser,LookUp('User Logs',Title=User().Email));
     ClearCollect(colViewLogs,Split(varUser.ReadNews,"#"));
    )

     

     


      ✔️
    Just in case my response helped you solve your problem, please mark/accept this as a SOLUTION This helps community members if they experience a similar issue in the future.

     

      🔗
    🕸bistek.space  🐦 @cha_bistek  📺 @BisTekSpace 
  • wshalex123 Profile Picture
    160 on at

    Thanks for your solution @cha_cha. Your are amazing! 

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
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard