Cannot find AssociationStyleTransform file - People Soft Driver version 5.1

  • 7015114
  • 28-May-2014
  • 28-May-2014

Environment

Novell Identity Manager Identity Manager 3.0
Novell Identity Manager Driver- People Soft Driver

Situation

In the documentation ( https://www.novell.com/documentation ) of the People Soft Driver version 5.1, section "4.0 Upgrading the PeopleSoft Driver", it mentions that the association format changed since People Soft Driver version 4.0, and that some templates were shipped to do that conversion. Those templates are contained in the file AssociationStyleTransform , but the file cannot be found on the installation media.

Resolution

Here are the contents of the file, to use them just copy and paste them within the InputTransformSS policy as stated in the documentation:

 <!--
 ###################################################################
 Template to strip the Schema name from association values from the driver.  This is
 used to transform a PS 5.0 style association into a PS 4.x style association
 ###################################################################
 -->
 <xsl:template match="association">
  <xsl:variable name="assocValue" select="./text()"/>
  <xsl:choose>
   <xsl:when test="$assocValue and contains($assocValue, '/')">
    <association>
     <xsl:value-of select="substring-after($assocValue, '/')"/>
    </association>
   </xsl:when>
   <xsl:otherwise>
    <association>
     <xsl:value-of select="$assocValue"/>
    </association>
   </xsl:otherwise>
  </xsl:choose>
 </xsl:template>
 <!--
 ###################################################################
 Template to strip the Schema name from add-association values from the driver.  This is
 used to transform a PS 5.0 style association into a PS 4.x style association
 ###################################################################
 -->
 <xsl:template match="add-association">
  <xsl:variable name="assocValue" select="./text()"/>
  <xsl:variable name="addAssocAttrs" select="@*"/>
  <xsl:choose>
   <xsl:when test="$assocValue and contains($assocValue, '/')">
    <add-association>
     <xsl:apply-templates select="$addAssocAttrs"/>
     <xsl:value-of select="substring-after($assocValue, '/')"/>
    </add-association>
   </xsl:when>
   <xsl:otherwise>
    <add-association>
     <xsl:apply-templates select="$addAssocAttrs"/>
     <xsl:value-of select="$assocValue"/>
    </add-association>
   </xsl:otherwise>
  </xsl:choose>
 </xsl:template>


Additional Information

Formerly known as 3867639