Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Sending message to other instance

Posted on by 13
I have a mobile app, which operates in different buildings.
 
They want to a notification on users in building B, when something happens in Building A. The idea that A do something, and B gets a notification (preferable clickable direct to specific case).
 
How would you do this?
 
How can I make that work regardless of what screen is in use?
 
WBR
Sonnich
 
 
  • Suggested answer
    JanShhhh Profile Picture
    JanShhhh 4 on at
    Sending message to other instance
    Hi Sonnich
     
    I think this will need a bit of a workaround.
     
    I would create an external datsource "Notfications" with a colum something like "VisibleToUser"
    Whenever a User in Building A does the action you want, you create a new record in your Notifications datasource.
    There you can populate the VisibleToUser Column with the user from Building B.
     
    In your app you will need to regulary refresh the Notifications Datasource. You can use a timer and Refresh().
     
    Then you will need a component to display the notification in your app.
    I suggest component so it is easier to maintain on all screens.
    You can create the component with logic so it will only be visible if there are Notifications in the Notifications Datasource and if the logged in User is the one in the VisibleToUser Column.
     
    You can delete the record from the datasource whenever the user has dealt with the notification.
     
    If you need further help with example code, let me know.
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,246

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,884

Leaderboard