Skip to content
Søren Granfeldt edited this page Apr 5, 2018 · 8 revisions

Supported from version 1.1.1159 and later

A JoinRule generate a value based on the CSEntry attribute values that will be used to search the metaverse for a join candidate. The current implementation in JoinRule only supports returning of one value.

You can use all transforms to generate value using SourceExpression as you do for creating Flow Rules.

The examples below creates a value that will be used to search for an MVEntry object to join with a CSEntry object. In this example, the objects in the metaverse have an accountname attribute without a preceeding domain name. So the values returned from the connector space is an accountname where the domain is removed using the RegexReplace transform.

<JoinRule Name="CleanAccountName">
  <SourceExpression>
    <Source Name="AccountName" xsi:type="Attribute">
      <Transforms>
        <Transform xsi:type="RegexReplace" Pattern="^.+\\" Replacement="" />
      </Transforms>
    </Source>
  </SourceExpression>
</JoinRule>

You can read more about the use of advanced join rules in the Microsoft documentation for IMASynchronization::MapAttributesForJoin (https://msdn.microsoft.com/en-us/library/windows/desktop/ms696515(v=vs.85).aspx)

Clone this wiki locally