Skip to main content

Configure a name generator

App tutorial · Step 11 of 25

Build a three-form app that creates an Active Directory user and manages its group memberships.

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.

  2. Select ng_AD as the Generator Name. The input and output fields are populated.

    • Input fields are the values required by the name generator’s methods.
    • Output fields are the generated names returned to the app.

    The app supplies the input values below instead of using the generator’s original filter.

  3. Configure the Input Fields:

    NameAllow empty valueSourceValue
    first_nameNoVariablenew_FirstName
    last_nameNoVariablenew_LastName
    employee_idYesConstant(empty)

  4. Configure the Output Fields:

    NameVariable
    ng_sAMAccountNameCreate variable ng_sAMAccountName
    ng_userPrincipalNameCreate variable ng_userPrincipalName
    ng_cnCreate variable ng_cn

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