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 : Mn0Mw1DsReNpgkipvOc1Dc
Power Apps - Building Power Apps
Unanswered

How to give permission to User to edit info in form based on specific column in Sharepoint

Like (0) ShareShare
ReportReport
Posted on 9 May 2022 08:06:54 by

I have designed Power Apps Form to gather information from User. All the info is listed in Sharepoint List. User may retrieve the info using search in Power Apps and edit the info. However, I would like to limit the authorization to edit the info based on Specific column in Sharepoint. If only User is the same name as Project Leader, then User can edit or else User can only View. Project Leader is one of the columns in Sharepoint. How do I set the authorization for edit?

 

I have Project Listing as Datasource, Project Leader is one of the columns in Sharepoint. User is the person who log in as user. I am using Edit button to edit the info. Form1Registration is the screen for registration and editing.

 

My syntax is:

On-select fx

 

If('Project Leader_DataCard1'.DisplayName = User(),FullName, EditForm(Form1Registration), ViewForm(Form1Registration))

 

No error but when test, it doesnt work. The form cannot be edited, only view.

 

 

 

I have the same question (0)
  • v-liwei-msft Profile Picture
    on 11 May 2022 at 05:03:13
    Re: How to give permission to User to edit info in form based on specific column in Sharepoint

    Hi @Rosy_Lui ,

     

    1.You should set Form1registration.DisplayName to the name of your form, not the name of the screen.

    2.You need to check the value of   'project leader'_ DataCard1'.You can put 'project leader'_ Datacard1 ' into a label control to view.

     

     Beat Regards,

    Levi

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 733 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 532 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399 Super User 2025 Season 2

Last 30 days Overall leaderboard