Hello all-
I have been following the blog posting at
http://blogs.msdn.com/infopath/archive/2007/02/28/using-the-contact-selector-con
trol.aspx. Very useful information.
I'm using two contact selectors on form.
In CS1, a help desk user will select a client.
I have AD code behind the scenes that pulls the manager field from AD,
splits the string, and substrings out the CN=. The results of this code is
added as the display name of CS2. Now I would like to through code call the
logic to resolve this display name.
I have added a connection to the people.asmx web service, and I have set
this connection to call the ResolvePrincipals methods. What I don't know is
how to call this appropriately from within an InfoPath 2007 form.
Any help is appreciated.
Clay Fox - 05 Mar 2008 22:36 GMT
I have done the same thing with an Active Directory web service.
One thing I did was actually put the manager's user ID in one of the extra
custom fields in AD if that is feasible.
I am not familiar with the people.asmx but you should set it up as a receive
data connection.
Then if it has a query values you could set these on the first drop down
rule and then query the data connection. Otherwise if it returns everyone,
you would use a filter to get the data that matched the selection in the
dropdown.

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> Hello all-
>
[quoted text clipped - 14 lines]
>
> Any help is appreciated.