Skip to main content

NIM

Step 11: Configure a name generator (tutorial)

In this step, we'll set up a name generator to support the user create action we'll eventually be adding to this app. We can reuse the ng_AD name generator that we created in the basic tutorial.

  1. Go to the Name Generator tab.

    2023-10-18_11-57-05.jpg
  2. For the Generator Name, select the ng_AD name generator.

    2023-10-18_11-58-01.jpg

    The Input Fields and Output Fields are populated.

    • The former represents all Parts that the name generator needs for its name/method combinations.

    • The latter represents the Names that the generator will produce.

    So, what this means is that we are essentially overriding the input to the Parts of the name generator. Instead of getting the necessary parts from its filter, the name generator will instead use the constants and/or app variables that we specify on this screen.

  3. We'll set the Input Fields as follows:

    2023-10-19_11-30-10.jpg

    Name

    Allow Empty Value

    Source

    Value

    first_name

    no

    variable

    new_FirstName

    last_name

    no

    variable

    new_LastName

    employee_id

    yes

    constant

    (empty)

  4. And we'll set the Output Fields as follows:

    2023-10-19_11-31-54.jpg

    Name

    Variable

    ng_sAMAccountName

    [new] variable named ng_sAMAccountName

    ng_userPrincipalName

    [new] variable named ng_userPrincipalName

    ng_cn

    [new] variable named ng_cn

  5. We'll click Save to save our progress so far.

Next: Step 12: Confirmation screen