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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Making form read only ...
Power Apps
Unanswered

Making form read only after the status field is Approved.

(0) ShareShare
ReportReport
Posted on by 116

Hi,

 

I have a  power apps customized SharePoint list form where I would like to make the form "Read-only or disbaled" for the current logged in user but editable to the current logged in user's manager. 

 

The current logged in user and manager are captured automatically in two different fields and are not editable.

 

Please advise.

 

Thank you

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    seadude Profile Picture
    1,855 on at

    Hi @cooltechie. There are a few ways to do this type of thing in PowerApps. Some kind of flag for the "field user" vs. "manager user" is helpful. Sometimes, a flag like this exists in your Active Directory (usually something like "Scheduled", "Exempt", "Manager", etc.).

    You could also create your own access list. Add a Permission Column of some sort. From there you can do a Filter, determine what privaleges the user should have, and switch either the Form Mode or the DisplayMode of individual fields.

    Example:

    • Screen1 of App
      • OnStart Property
      • If(
         Filter(Sharepoint_User_List, 
        varUserName = nameColumn,
        myADFlag = X,
        permissionColumn = "true"
        ), FormMode.Edit, FormMode.View )

    I believe you're limited to a list of <2000 or less records, so this may not work for your org.

    - Shane Young has  a great video on Forms you should search YouTube for.

    Good luck!

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard