HR Attribute Flow

In this section we'll specify how attributes should flow between the HR ConnectorView and the MetaView. We'll create an Attribute Flow Rule specificially for the HR ConnectorView.

There are 14 steps in this procedure.

The next 3 sections are probably the most difficult sections in this course. Be sure to read and follow all instructions exactly as they are written.

Step 1: Begin adding a new Attribute Flow Rule

Click on the . . . button next to the "Attribute Flow" field to create a new attribute flow statement.

That will produce the window shown here:


Step 2: Select Add New Rule

Right-click on the Rules button under "To MetaView" and select Add New Rule from the small popup menu.


Step 3: Assign a name to the new rule

Enter a name for the new attribute flow rule. In this example we'll use HR Attribute Flow Rule. Make sure the ConnectorView is HR ConnectorView and the MetaView is my metaview. When you're finished, click on Edit to invoke the Attribute Flow Rule editor.


Step 4: Construct a new attribute flow rule

We want to construct a rule that makes sure the cn (common name) attribute exists.
Select cn from the "Attribute" menu and Present from the "Expression" menu.

Click Insert when you're finished, but don't click OK yet.
You should now see the statement %cn% <Present> in the "Available Conditions" window.


Step 5: Continue building the rule

In this step we're going to create another condition statement. In Step 6 we'll combine the two statements into one.

Select employeenumber from the "Attribute" menu and Present from the "Expression" menu. Click the Insert button but don't click OK yet.

You should see the statement %employeenumber% <Present> in the "Available Conditions" window below the statement we created in Step 4.


Step 6: Combine the 2 condition statements

Highlight both condition statements and use the Operation pull-down menu to combine them with a Logical AND.

Make sure your Selection Criteria condition statement is correct before continuing.

Step 7: Accept this rule

The condition statement should now look like this:

(%cn% <Present>) AND (%employeenumber% <Present>).

Click OK. This will cause the condition statement to be enclosed in parentheses and displayed in the "Attribute Flow Rule Editor" window in the "Selection Criteria" field.


Step 8: Begin insert mapping

Now we're ready to specify which attributes in the ConnectorView get mapped to which. Click Insert Mappings....


Step 9: Show all available attributes

Select inetOrgperson for both the Source (ConnectorView) and Destination (MetaView) Objectclasses.

There's a shortcut you can use to insert mappings: double-click on the attribute in the left-hand column. This will both select and insert this particular attribute.

Step 10: Select the attributes you want to insert

Select cn in both the Source and Destination attribute lists, then click on Insert Mapping.

The new mapping you've just created should show up in the "Attribute Flow Rule Editor" window.


Step 11: Insert other attributes

Repeat the previous step for the attributes shown in this table. Most of these attributes are the same in both the Source and Destination, but the source employeenumber should be mapped to both employeenumber and uid on the destination side.

Source Attribute Destination Attribute
departmentnumber departmentnumber
displayname displayname
employeenumber employeenumber
employeenumber uid
employeetype employeetype
givenname givenname
homephone homephone
initials initials
l l
manager manager
objectclass objectclass
postaladdress postaladdress
postalcode postalcode
sn sn
st st
street street
title title

When you're finished click Close on the "Insert Mapping" window.

The "Rule Editor" window should look like the one shown below:

Click OK. We've have now created the HR Attribute Flow Rule.


Step 12: Begin creating a new rule set

You should now see the "Attribute Flow Configuration" window.

Right-click on the Rule Sets icon and select Add New Rule Set...


Step 13: Add the HR Attribute Flow Rule to new rule set

Assign the name HR Flow Rule Set to the new Rule Set.

Select the Rule Set icon and use your right-hand mouse button to bring up the Add New Rule Set.. menu item.

Select the HR Attribute Flow Rule and click Insert.

Click OK when you're done. The new Rule Set should show up on the list of available Rule Sets.

Click Close.

Make sure your "Configuring ConnectorView HR ConnectorView" window looks like the one shown here before continuing.

Step 14: Use the new Rule Set to control attribute flow

Select the HR Attribute Flow Rule from the list of possible Rule Sets, and click OK.

At this point the Configuring ConnectorView "HR ConnectorView" window should show the Filter and JoinRules fields set to - None -. The DN Mapping Rule should be set to UID Rule Set and the "Attribute Flow" field should be set to HR Flow Rule Set.


Summary

In this section we created a new Attribute Flow Rule which maps many of the attributes in the HR ConnectorView to their counterparts in the MetaView. One exception is that we're mapping employeenumber both to employeenumber and to UID.

In the next section we'll specify the Attribute Flow Rules for the PBX ConnectorView.

Top of Page
Copyright © 2000
Sun-Netscape Alliance.