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?