Table with user accounts
Besides some text elements, the project form contains a table, password input field and a submit button.

Figure 28: Definition of the form of project Novell eDirectory - Reset password
The table shows the user accounts, collected with project ResetPassword - GetUsers. The table data is stored in variable %LdapUsers%. When setting up the form generic table, note that the columns need to be defined for the table. The variable %LdapUsers% stores the table data, but not the name of the table columns.

Figure 29: Specification of columns of generic table derived from variable %LdapUsers%.
In order to use the table data successfully, you need to know the number of columns and the name and type of data for each column. You must enter the name of the columns manually. In the example shown, the columns are called User account and UserDN, referencing the name of the user account and the distinguished name. When configuring the columns for the form, the width of the column with the distinguished name is set to 0.

Figure 30: Specification of the table columns shown in the form.
With this mechanism, you can return the name of the selected user account in a variable (%UserDN%) but not show the (ugly format) name to the end-user. Instead, the common name is shown.
|