Link to home
Start Free TrialLog in
Avatar of AshridgeTechServices
AshridgeTechServicesFlag for United Kingdom of Great Britain and Northern Ireland

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 User generated image
Avatar of melli111
melli111
Flag of United States of America image

How are you setting the value?  What is the value & filter you are selecting?
it should be
Value[Name = "Preferred Name"]
Avatar of AshridgeTechServices

ASKER

Yep that is the way i have done it, and it works for "preferred name" but not "department"


value.jpg
ASKER CERTIFIED SOLUTION
Avatar of melli111
melli111
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Had thought of that already, and unfortunately it does not help.

Thanks for the suggestion though