function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
daveccookdaveccook 

Is it possible to control field visibility by record

For example we have a Request object that has several fields, one of which is Absence Reason.  All fields in all records in this Request object should be visible to all users across the Org, with the exception of the Absence Reason field.  The Absence Reason field should be editable by anyone submitting a request, visible to the requester, visible to the manager of the requester, visible to an admin, but not visible to all other users in the org.  Please also consider that this is a custom application for which the existing role hierarchy is not suitable.

 

I'm stumped, so any help will be appreciated.  

Best Answer chosen by Admin (Salesforce Developers) 
grimviewgrimview

Other then visual force, your only other option is changing record types. You also need to know that this will not hide the data on reports.

All Answers

daveccookdaveccook

So far the only solution we have come to are creating visual force pages that would either conditionally hide the information to be protected, or make the records private and use a visual force page that would run as sys admin to override the user's access and display only the data required.

 

grimviewgrimview

Other then visual force, your only other option is changing record types. You also need to know that this will not hide the data on reports.

This was selected as the best answer