You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
On my form once when record is created the user has the ability to edit their entry until they set a "submit" field to Yes. At that point the edit function is disabled. And all of this works fine.
However, it disables the edit function for everyone including form Admins.
I know I can still use the form admin UI to still edit a record as Admin regardless, but that option doesn't use the form layout (table format only) which for a large form is not the best option.
1. Is there a way to ensure that when you disable the edit function that it is retained for Admins (or superusers)?
2. Is there a way to force the edit on the Admin UI to use the form layout?
What I have done for now is in the condition for hiding the edit function I have put
field1:CONDITION AND [entry._user]!=USERID
It seems to work but I will need to check it from other users screens, is this correct?
Well I thought that would work but it doesn't so I may have the syntax wrong or it's just not possible. Be good to have an answer if anyone knows
Hmmm, owned by won't work in this situation. Basically I am trying to block everyone from seeing the edit button except a specific USER. This suggestion would still allow the record owners to edit the record (which once submitted they cannot for audit reasons).
As for the groups, I did take a look, but again a similar issue. Since multiple people would be administrators it's the same issue, they all need to be blocked. There can only be one user who has the right to edit a record once a record has been submitted (i.e. field1 status changed to YES).
A side question here, how do I create a security group, maybe if I could create one then assign that specific user to that group I could use your suggested approach.
You can try this
_user.username:hardcodedusername OR field1:[entry._user.fullName]
The first one checks for the logged in username and matches with the hardcodedusername
The second one checks for the logged in user's fullname against the value from another field (field1) in your form