infopath 2010...
Followed this how-to article:
http://www.myriadtech.com.au/blog/Alana/Lists/Posts/Post.aspx?ID=20
- and it works perfect - but as it is stated;
"I don't like just having the manager's user name ...would much rather have the manager's full name displayed nicely on the form and not the username"...
So I went to the Clayton Cobbs reference mentioned at: http://claytoncobb.wordpress.com/2009/06/21/userprofileservice-extended/
and I really studied the article - ...and he shows very nicely how to achieve this by a "Get button" and by using the 'PreferredName'... (and he's using a list in SP that I would like to avoid)... ...but I don't understand how I can "translate" the managers Username: contoso\12345 to his "preferredName"
Having the: Value[Name = "Manager"] in the rule/field... It returns the looked up user manager username: contoso\12345
I tried several things - tried to use the "PreferredName" in my rule/field and tried the concat(firstname and lastname) etc. etc. - but all I get then are the name of the person that I "looked up" - and not the managers name...
So how do solve this and get the manager username changed his preferredname?