The above image shows that i gave the field security so thats its visible to only particular groups, but when i accessed the interface from being in that group, i was unable to see the field even though i assigned the security so that it was visible to that particular group.
Discussion posts and replies are publicly visible
If you applied field-level security in the record type, I suggest to use the a!doesUserHaveAccess() function.
docs.appian.com/.../fnc_system_doesUserHaveAccess.html
Sounds like OP is saying not even the field shows up (though i guess there's a chance we have a mix-up in terminology in play here as well). But if that's true at face-value, then AFAIK field-level security would not be impacting anything (yet).
Well in the above image as you can see, after the "offers in hand" field i was supposed to have 2 fields which are
1) a drop down field - Status
2) a text field - Remarks.
And i set the field security for them as shown in the above code so its only accessible by 3 groups only, but when it comes to the final interface, i cant see them at all (the "status" and "Remarks" field) even though im in two of the groups mentioned above in the security (Im in administrator and recruiters group).
Well as shown in the above image the "Status" and "Remarks" field is not showing to me.
You should be in all three groups for it to be visible because you have set matchAllGroups as true. So either change matchAllGroups to false or add yourself in all three groups.
skzahed_09 said:And i set the field security for them as shown in the above code
It is important to keep in mind that the showWhen parameter is not about "security". If you really want to restrict access to data, you will have to do this on the record level.
I think that the problem is, that you set matchAllGroups to true. As per the documentation, this means that the user has to be in ALL groups, but not at least in ONE of them.
Yes now i can access it, thankyou for your guidance.
Yes, it helped thankyou very much.