# Java Docs missing class: notification templates

**URL:** <https://developer.sailpoint.com/discuss/t/java-docs-missing-class-notification-templates/14720>\
**Category:** SHF Discussion and Questions\
**Tags:** email-templates, sailpoint-identity-security, notifications\
**Created:** [July 20, 2023, 8:46am UTC](https://developer.sailpoint.com/discuss/t/java-docs-missing-class-notification-templates/14720 "2023-07-20T08:46:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![angelo\_mekenkamp](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/angelo_mekenkamp/32/3386_2.png) [@angelo\_mekenkamp](https://developer.sailpoint.com/discuss/u/angelo_mekenkamp)\
**Post date:** [July 20, 2023, 8:46am UTC](https://developer.sailpoint.com/discuss/t/java-docs-missing-class-notification-templates/14720/1 "2023-07-20T08:46:23Z")

</div>

Hi!

The IDN java docs can be found here: [Java Docs | SailPoint Developer Community](https://developer.sailpoint.com/idn/docs/rules/java-docs/)

It does not seem to include the following class:  
com.sailpoint.notification.template.util.TemplateUtil  
In fact the whole sailpoint.notification package is not visible here.

Could this one be added perhaps? It is being used for the version 2 templates.

The reason we need to view the java docs for this class is the following:

For version 1 templates we can decide who should receive the emails and who should not by replacing the subject of the email template by:  
#if( ${user.notifySetting} == “doNotNotify” )no\_send#{else}#end  
here, notifySetting is a custom identity attribute that we have defined.

It looks like this is not possible for version 2 templates as it has less functionality and does not support retrieving identity attributes (except id, name, email, phone)  
Documentation for this can be found here: [Available Email Templates - SailPoint Identity Services](https://documentation.sailpoint.com/saas/help/common/emails/available_templates.html)  
To truely convince ourselves that this is not possible, we want to inspect the java docs to see if there are any methods available to help us fetch this identity attribute anyway from within the email template subject.

Kind regards,  
Angelo

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/java-docs-missing-class-notification-templates/14720)._
