![]() |
Messaging Join RulesIn 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. |
|
Step 1: Begin configuration of Messaging ConnectorViewRight-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. Step 3: Begin adding a new ruleRight-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 ruleMake sure the Create grammar-based rule button is checked and click OK. |
||
|
Step 5: Assign a name to this ruleAssign 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 ruleUse 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> . Step 7: Specify join filter ruleIn the last field in this window, enter (uid=%uid%) and click OK. Step 8: Begin adding a new rule setRight-click on the icon representing Rule Sets and select Add New Rule Set... from the menu. Step 9: Define the new rule setUsing 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. Step 10: Apply the Default UID Rule SetYou should now be back at the Configuring ConnectorView "Messaging ConnectorView" window. Select the Default UID Rule Set from the menu of possible join rules. SummaryIn 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. |
Top of Page
Copyright © 2000
Sun-Netscape Alliance.