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 / Limit User Access Form...
Power Apps
Unanswered

Limit User Access Form Entry

(0) ShareShare
ReportReport
Posted on by 1,265

I have the following Power App form.  As shown, there are multiple fields that will be updated, etc. by a Supervisor or other individuals.

RJF61_0-1668629999774.png

When an employee initially enters a "Safety Good Catch", I only want them to have the fields in the following available.

RJF61_1-1668630194483.png

I have attempted to create some logic in the "Assigned To" field (in the top form) and then based on that result set its' visible properties to false (or hidden).  I have then used the DataCardValue result on other fields to also make them invisible.  The logic is...if email of an Employee (identified in a connected list) matches the email of the User entering information and they do not have "Management Status", fields are not visible.  A few questions.

 

1. Is hiding field visibility the best method to accomplish this task?

2. DataCards have an X and Y position.  Unfortunately, when a field is made invisible, adjacent fields move disrupting the form.  How should this be addressed?

3.  Should there be a data entry form specifically for initial information entry (with limited fields) based on User permissions?

 

Thanks   

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @RJF61 

    Create two forms, one for capturing new information that has more limited cards and another for editing existing information that has all the cards.  Use different buttons to open a "New" form and an existing record.  Trying to position the cards on the same form probably isn't worth the effort. 

    I suggest you just copy your current form, remove the cards you don't want and make the default mode; New  

    Everything else on the form should be functional. 

  • RJF61 Profile Picture
    1,265 on at

    @Drrickryp Thanks for the response.  What is the best method to limit access to the Editing Form (just for Supervisors, etc.)? 

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Control it at the point where the form will be opened. If there is a gallery that lists all the records, you can have an icon in the gallery for navigating to the editform screen, with the visible property of the Icon
    !IsBlank(LookUp(yourlistof administrators, emailcolumn=User().email)

  • RJF61 Profile Picture
    1,265 on at

    @Drrickryp Thanks for the response and solution.  I am now getting a Delegation error...

     

    !IsBlank(LookUp(EmployeeShort,!IsBlank(MgmtAssign) && Mail = User().Email).Email))

     

    How can I resolve this?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard