Accessing old-src-dn
Novell Cool Solutions: Question & Answer
Reader Rating
from 1 ratings
Q:
Is there a way to access "@old-src-dn" and its value within the IDM 2.0
Policy Builder? I'd like to set that value into a local variable.
A:
On Connector Channels, you could use XPATH where the old-src-dn XDS XML attribute is available. For example, on the AD Connector Subscriber channel the old-src-dn attribute IS available, whereas on the Publisher channel it is NOT available).
You could use something like this:
<do-set-local-variable name="oldDN">
<arg-string>
<token-xpath expression="@old-src-dn"/>
</arg-string>
</do-set-local-variable>
Using XPATH in Policy Builder, you can get to all the nodes in your XDS XML document that you could with XSLT. The context would be the event (operation) element - in this case, <rename/>
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com