How do I add the Notification field from sys_user to a form

jacrump87
Tera Contributor

I am trying to show if a person has their Notifications enabled or disabled to a form.  I have tried referencing sys_notification and sys_user but cannot get it to populate the field with enable or disable.

1 ACCEPTED SOLUTION

jcmings
Mega Sage

You need to dot-walk into the User via Form Layout. I was able to do this for the Caller field on the Incident form by going to Configure > Form Layout and then expanding the Caller reference field.

jc21_1-1736277282146.png

 

And now I can see it on the Incident form after saving:

jc21_0-1736277252258.png

 

 

Side note: if you are trying to display if notifications have sent in the activity stream, you can follow KB0719147. Just make sure you have the emails marked as sent in the sys_email table (as mentioned in the KB).

View solution in original post

5 REPLIES 5

jcmings
Mega Sage

@jacrump87 just wanted to follow up with something I just learned (use this with caution): there is a Mandatory field on email notification records that bypasses user preference. Source is my Certified Application Developer training.