Symantec IGA

 View Only
  • 1.  Read Screen Logical Attribute in BLTH

    Posted Mar 05, 2015 03:00 AM

    Dear IDM Experts,

     

    Please let me know if we can read screen logical attributes of a Admin task into a BLTH? Kindly provide pointers.

    Thanks,

     

    Deb



  • 2.  Re: Read Screen Logical Attribute in BLTH

    Posted Mar 12, 2015 04:34 PM

    Can anyone help out with this issue?

     

    Thank you

     

    Buddhadeb Das wrote:

     

    Dear IDM Experts,

     

    Please let me know if we can read screen logical attributes of a Admin task into a BLTH? Kindly provide pointers.

    Thanks,

     

    Deb



  • 3.  Re: Read Screen Logical Attribute in BLTH
    Best Answer

    Posted May 11, 2015 10:32 PM

    Yes the attributes are referenced as |attribute|, so when you use the getAttribute put the attribute name between || .

     

    Send you a javascript function that can help you to know which attributes does your task has. You will see the logical attributes between ||

     

     

     

    function handleSetSubject(BlthContext, errorMessage) {

    java.lang.System.out.println("BLTH.... handle validation");

    usuario = BlthContext.getSubject();

    at = usuario.getAttributes();

    java.lang.System.out.println("hay "+at.size()+" atributos");

    keys = at.keys();

    while (keys.hasMoreElements()) {

      atname =  keys.nextElement().toString();

      value=  at.get(atname);

      java.lang.System.out.println("........."+atname+":"+value);

    }

    return true;

    }

     

    regards