Defining a filter to generate a DN
In the inetorgperson example, an object's distinguished name looks something like this:
To define a AR System filter to construct the distinguished name using the inetorgperson data source
- In Developer Studio, select File > New > Filter.
- Select the server where you want to create the filter, and click Finish.
- Right-click the Associated Forms panel, and select Expand All Panels.
- In the Associated Forms panel, click Add.
- In the Form Selector dialog box, select the inetorgperson form and click OK.
- In the Execution Options panel, select the Submit check box.
- Right-click the If Actions panel, and select Add Action > Set Fields.
A Set Fields subpanel appears, which includes a field-value table (see the following figure). - Click the first cell in the Field column, and then click the ellipsis button (...)
- Use the Field Selector to select the Distinguished Name field, and click OK.
In the corresponding Value cell, enter the following expression:
"uid=" + $User ID$ + ", ou=People, o=remedy.com"- Select File > Save.
- Name your filter inetorgperson:create, and click OK.
Fields used in the inetorgperson example
In the inetorgperson example, the following fields are needed:
Field | Field properties |
---|---|
Distinguished Name | Entry Mode: Optional Read/Write Default Value: none Vendor Information Column: dn |
Object Class | Entry Mode: Required Read Only Default Value: top, person, organizationalPerson, inetorgperson Vendor Information Column: objectclass[,]* |
Last Name | Entry Mode: Required Read/Write Default Value: none Vendor Information Column: sn |
Common Name | Entry Mode: Required Read/Write Default Value: none Vendor Information Column: cn |
Organization Unit | Entry Mode: Required Read/Write Default Value: People Vendor Information Column: ou[,]* |
In this example, the form looks like the form in the following figure.