Skip to main content
Question

Need help with notifications and hiding fields?

  • November 9, 2017
  • 0 replies
  • 108 views

I have an application in which there are 2 roles, supervisor and employee. A form in the application contains supervisor reviews on employee performance. Some fields are accessible by employees and supervisor needs to comment on those fields. My problem is, the comments field need to be hidden when employee logs in and enters his side of information. When supervisor comments on that information, the comments need to be visible to employee role. Also, employee must know that supervisor has completed his review by some kind of notification so he/she can view those comments. 

Should I make the comments view only? How is that done? Or devise a functionality to accomplish the above task

You can easily make the comments view only to the role of employee by going into application settings/Roles, select Employee role then over to the last permissions column named Fields, select Custom Access. Find that comments field and make it view only.

On that same permissions page for the Employee role, you should also limit which table record can be viewed and/or modified by that specific employee so everyone with the employee role only sees their review. This should be easy if you have that employee's name on the form which is populated as a user name field. Let's call it Employee Name. Then in both View permissions and Modify permissions' drop down, select Custom Rule. Then just set it to say... when [Employee Name] field = current user.

You can set up a Notification for that table that is triggered when a certain field is completed by the supervisor that will send an email to the Employee in that Employee Name field.