So i have 3 fields in a record table namely A,B,C and also 3 groups namely A,B,C. So my doubt here is, is it possible to set security to the fields separately. For example if i place a user in group A, then i should see only the A field and the other B and C fields should not be visible to me.
If it is possible, can anyone guide me how i can achieve it.
Discussion posts and replies are publicly visible
You can use the field level security in record If you are in appian older version you can use the isUserMemberOfGroup() function to check if the logged-in user belongs to a specific group and assign security with simple if() condition.
isUserMemberOfGroup()
I Am using the community edition which is i think the latest version. I tried using the "Field-level security" option and gave certain groups as security but when i added a user in that particular group it didn't work all the 3 fields were visible even though for a user from a particular group i allowed only a certain field to be visible.
After adding the user to the group, have them log out and log back in, as some systems only apply permission changes upon a new session. Also, make sure the user is not part of a nested other group that may not be recognized.
I used the function but yet i am facing some errors, i gave the group name and the used the function, what target am i missing here ?
"Target is missing" means "You missed a comma". In your case in line 49.
This was error shown after that.
try to give like this
Remove .(dot) on line number 50 after recruitment Id
The dot was just for adding a field or relation , i think that dot didnt cause any error
Yes it was fixed, thank you for your guidance.