Creating a template
Use this information to create a template. After you have created a realm, your next step is to create a user template. A template helps you to organize the information you want to enter. Expand the Realms and templates category in the navigation area of the Web administration tool.
- Click Add user template.
- Enter the name for the template, for example, template1.
- Enter the location where the template is going to reside. For replication purposes, locate the template in the subtree of the realm that is going to use this template. For example, the realm created in the previous operations cn=realm1,o=ibm,c=us. You can also click Browse to select a different subtree for the location of the template.
- Click Next. You can click Finish to create an empty template. You can later add information to the template, see Editing a template.
- If you clicked Next, choose the structural object class for the template, for example inetOrgPerson. You can also add any auxiliary object classes that you want.
- Click Next.
- A Required tab has been created on the template. You can change the information contained on this tab.
- Select Required in the tab menu and click Edit. The Edit tab panel is displayed. You see the name of the tab Required and the selected attributes that are required by the object class, inetOrgPerson:
- *sn - surname
- *cn - common name
The * denotes required information.
- If you want to add additional information to this tab, select the attribute from the Attributes menu. For example, select departmentNumber and click Add. Select employeeNumber and click Add. Select title and click Add. The Selected attributes menu now reads:
- title
- employeeNumber
- departmentNumber
- *sn
- *cn
- You can rearrange the way that these fields appear on the template by highlighting the selected attribute and clicking Move up or Move down. This changes the position of the attribute by one position. Repeat this procedure until you have the attributes arranged in the order you want them. For example,
- *sn
- *cn
- title
- employeeNumber
- departmentNumber
- You can also change each selected attribute.
- Highlight the attribute in the Selected attributes box and click Edit.
- You can change the display name of the field used on the template. For example, if you want departmentNumber to be displayed as Department number enter that into the Display name field.
- You can also supply a default value to prefill the attribute field in the template. For example, if most of the users that are going to be entered are members of Department 789, you can enter 789 as the default value. The field on the template is prefilled with 789. The value can be changed when you add the actual user information.
- Click OK.
- Click OK.
- To create another tab category for additional information, click Add.
- Enter the name for the new tab. For example, Address information.
- For this tab, select the attributes from the Attributes menu. For example, select homePostalAddress and click Add. Select postOfficeBox and click Add. Select telephoneNumber and click Add. Select homePhone and click Add. Select facsimileTelephoneNumber and click Add. The Selected attributes menu reads:
- homePostalAddress
- postOfficeBox
- telephoneNumber
- homePhone
- facsimileTelephoneNumber
- You can rearrange the way that these fields appear on the template by highlighting the selected attribute and clicking Move up or Move down. This changes the position of the attribute by one position. Repeat this procedure until you have the attributes arranged in the order you want them. For example,
- homePostalAddress
- postOfficeBox
- telephoneNumber
- facsimileTelephoneNumber
- homePhone
- Click OK.
- Repeat this process for as many tabs as you want to create. When you are finished click Finish to create the template.
Parent topic:
Realm and user template tasks