Symantec IGA

 View Only
Expand all | Collapse all

Fetch List of Initiator's Multi-Valued Attribute in Identity Portal

  • 1.  Fetch List of Initiator's Multi-Valued Attribute in Identity Portal

    Posted Apr 18, 2018 02:00 PM

    Hi,

    Have a requirement to display the list of Initiator's Department on the Create User Form in Identity Portal during create user use case through Portal. The Initiator's departments are stored in a Multi-Valued attribute in his user profile in the CA Ldap Store.

    I am using the function api.getRequester() in the Create User Form Handler, but this looks not working to display as a Searchable List or Multi Valued Text.

    Trying using the Text, just displays one department of the initiator and not the whole list (Just tested, I know this would not work for Multi-Valued Attribute)

    Any way or anybody had similar use case, to display Initiator's Multi-Valued attribute in a searchable list or multi-text attribute or any other in the Identity Portal Form, from where the Initiator can select one of the available choices to register a new user..

     

    Thanks,

    Lav Malhotra



  • 2.  Re: Fetch List of Initiator's Multi-Valued Attribute in Identity Portal
    Best Answer

    Broadcom Employee
    Posted Apr 24, 2018 12:29 PM

    A support case was opened and resolved.

     

    Orignal code used display type as "Text" and Initialization Handler :
    prop.value = api.getRequester().userData['Orgenhet'][0];

     


    Set display type as "Multi-Text" and modified the handler code as below :
    prop.values = api.getRequester().userData['Orgenhet'];