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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update my incident alo...
Power Apps
Unanswered

Update my incident alone in power app

(1) ShareShare
ReportReport
Posted on by 184
Hi,
 
I have developed a power app so that employees can make the changes in the incidents i.e.
 
On the click of gallery item, employee is able to see the remaining column values in the edit form.
 
In the update button, patch function has been used to update the info back to the list.
 
But the employee should be able to update his incident alone via power app.
 
There is a column called RaisedBy with type people picker.
 
So is there any possibility to validate if the current logged in user is matching with Raisedby column, then only update should happen.
 
Please let me know the possibilities
 
Regards,
Sudheer
Categories:
I have the same question (0)
  • Gyllentid Profile Picture
    894 on at
    Update my incident alone in power app
    Yes, you can use for example User().Email to get the current user using the app. And you can use it to filter a datasource with in a gallery. Let me know if you need more help :)
     
  • timl Profile Picture
    36,319 Super User 2025 Season 2 on at
    Update my incident alone in power app
    Hi Sudheer
     
    One option would be to disable the save button if the RaisedBy value doesn't match the current user. You would add formula like this to the DisplayMode property of the button.
     
    If(YourGallery.Selected.RaisedBy.Email = User().Email 
       DisplayMode.Edit, 
       DisplayMode.Disabled
    )
     
  • NS-10041416-0 Profile Picture
    184 on at
    Update my incident alone in power app
    Hi,
     
    Right now I am facing the issue as mentioned below after checking with if condition
     
     
    Regards,
    Sudheer
  • Isabel Liu Profile Picture
    3 on at
    Update my incident alone in power app
    User().Mail function may look like it is getting the current user’s email, but it is actually the current user’s User Principal name.
     
    Use Office365Users connector to get the current users email address:
    Office365Users.UserProfile(User().Mail).Mail

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard