Hi guys,

today I was before a challenge. I needed to get qualified DN of idvault object (e.g. cn=user1,ou=users,o=data) on a publisher channel. I thought I would just Parse DN in LDAP format from Destination DN and I will be done. Oh, how wrong I was. After digging around coolsolutions and forums, I achieved it by this Xpath:

<token-parse-dn dest-dn-format="ldap" src-dn-format="qualified-slash">
<token-xpath expression="query:readObject($destQueryProcessor, association, @dest-dn, @class-name, 'CN')/@qualified-src-dn"/>
</token-parse-dn>


And it works fine for me. I am just wondering if I am missing something here, and if there is possibly easier/prettier way?