Messaging Join Rules

In this section we'll create a Join Rule for the Messaging ConnectorView which requires UID to be present. The procedure here is similar to the one used to create a Join Rule for the HR ConnectorView.

There are 10 steps in this procedure.

Step 1: Begin configuration of Messaging ConnectorView

Right-click on the icon representing the Messaging ConnectorView and select Configure....




Step 2: Set Configuration (To MV)

Click on the Configuration (To MV) tab and click on the ... button next to the Join Rules field.

This will invoke the Join Rules Configuration window.




Step 3: Begin adding a new rule

Right-click on the icon representing Rules and select Add New Rule.... This will bring up the Attribute Flow Rule Editor.




Step 4: Create a grammar-based rule

Make sure the Create grammar-based rule button is checked and click OK.

For more information on the syntax used to construct flow rules, click on the Help button in the Join Rule Editor window.

Step 5: Assign a name to this rule

Assign the name Default UID Rule to this rule. Select the Messaging ConnectorView from the menu of available ConnectorViews and click Edit.




Step 6: Edit the new rule

Use the Attribute menu to select UID, then use the Expression menu to select Present. When you click Insert the new rule should show up in the upper portion of the window with the syntax %uid% <Present> .

Click OK when you're finished.




Step 7: Specify join filter rule

In the last field in this window, enter (uid=%uid%) and click OK.




Step 8: Begin adding a new rule set

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

This will bring up the Join Rule Set editor window.




Step 9: Define the new rule set

Using the Join Rule Set editor, assign the name Default UID Rule Set to the new rule set. Select the Default UID Rule and click Insert.

Click OK. The Join Rules Configuration window should now show the Default UID Rule Set.

Click Close.




Step 10: Apply the Default UID Rule Set

You should now be back at the Configuring ConnectorView "Messaging ConnectorView" window. Select the Default UID Rule Set from the menu of possible join rules.

We still need to set Attribute Flow for this ConnectorView, so don't click OK yet.



Summary

In this section we created a new Join Rule which requires the UID attribute to be present. We added that new rule to a Rule Set and applied it to the Messaging ConnectorView.

In the next section we'll configure Attribute Flow Rules for the Messaging ConnectorView.

Top of Page
Copyright © 2000
Sun-Netscape Alliance.