Symantec IGA

Expand all | Collapse all

Replace physical attribute names with Display names in email template

  • 1.  Replace physical attribute names with Display names in email template

    Posted Jan 06, 2017 04:54 PM

    We are using CA IDM 12.6.8. In workflow  approval notification emails, we are sending user's modified attributes as name value pair.  We are using email templates to generate the emails. We are using following code in the custom email template to generate list of modified attributes and their values. The issue is that "attr" variable contains the physical name of the attribute in user store. We would like to put  the Display Name so that it is more human readable. Does anyone has code to replace physical attribute names with Display names

     

    var event = _eventContextInformation.getEvent();
    if(event instanceof Packages.com.netegrity.imapi.UserEvent) {
    var user = event.getUser();
    var attributes = user.getAttributes().keys();
    while(attributes.hasMoreElements()) {
    var attr = attributes.nextElement();
    var value = user.getAttribute(attr);
    if(user.hasAttributeChanged(attr)) {
    template.add("<tr><td>" + attr +"</td>");
    template.add("<td>" + value +"</td></tr>");



  • 2.  Re: Replace physical attribute names with Display names in email template
    Best Answer

    Broadcom Employee
    Posted Jan 17, 2017 10:12 AM

    Hi Abraham,

     

    We had a support case over this, so we are marking this as answered.

     

    Regards,

    Sagi