Other Integrations

Integration with XMod

It is possible to integrate My Tokens in XMod Pro templates by using the My Tokens SkinObject. This will allow invoking any token from XMod. Here is a code sample provided by one of our customers.

<xmod:Register TagPrefix="MyTokens" Namespace="avt.MyTokens" Assembly="avt.MyTokens" />

    <ListDataSource CommandText="SELECT Username FROM Users WHERE UserId=@UserID">
        <parameter name="UserID" value='[[User:ID]]'/>
               [[Username]] same as <MyTokens:SkinObjectReplacer Token="[User:Username]" />