Symantec IGA

Expand all | Collapse all

Identity Manager - Show and Hide Field

Jump to Best Answer
  • 1.  Identity Manager - Show and Hide Field

    Posted 06-11-2018 05:22 PM

    I have a requirement where in I have to  display 2 fields on the Approver screen based on the application name.

    Example:

    If application name is ABC, then display fields Type1 and Type2.

    For all other applications like DEF, GHI etc these two fields should not be displayed.

     

    Using the below code, I am able to show or hide the field values. But the field name or label is still visible. Its not hidden.

    function validate(FieldContext) {    if (|appName|== "ABC") {     FieldContext.showField("|Type1|");
       FieldContext.showField("|Type2|");
       } else {
       FieldContext.hideField("|Type1|");
       FieldContext.hideField("|Type2|");
       }
    }

    Am I missing something?



  • 2.  Re: Identity Manager - Show and Hide Field
    Best Answer

    Broadcom Employee
    Posted 06-12-2018 08:12 AM

    Set the field default state (on the screen) to hidden, and used the code to enable them when needed.