AshridgeTechServices
asked on
Infopath 2010 pulling department info from user profile service
Hi Guys
I have been playing with infopath to make a new starters form for my company, which will be published via sharepoint 2010.
Most of it has been very easy and straight forward. but im having trouble retrieving the department info for the user.
The image i have attached shows an extract from the test form, the two highlighted boxes are both supposed to be returning data, the top box is pulling "PreferredName" and the 2nd should be getting "department" but it fails to work, despite the fact that the value is set in active directory and on the users SP profile.
Any ideas what im doing wrong?
Cheers
I have been playing with infopath to make a new starters form for my company, which will be published via sharepoint 2010.
Most of it has been very easy and straight forward. but im having trouble retrieving the department info for the user.
The image i have attached shows an extract from the test form, the two highlighted boxes are both supposed to be returning data, the top box is pulling "PreferredName" and the 2nd should be getting "department" but it fails to work, despite the fact that the value is set in active directory and on the users SP profile.
Any ideas what im doing wrong?
Cheers
ASKER
Yep that is the way i have done it, and it works for "preferred name" but not "department"
value.jpg
value.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Had thought of that already, and unfortunately it does not help.
Thanks for the suggestion though
Thanks for the suggestion though
it should be
Value[Name = "Preferred Name"]