Solved

Infopath 2010 pulling department info from user profile service

Posted on 2010-08-27
4
1,296 Views
Last Modified: 2012-05-10
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 test for screenshoot
0
Comment
Question by:AshridgeTechServices
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:melli111
ID: 33544475
How are you setting the value?  What is the value & filter you are selecting?
it should be
Value[Name = "Preferred Name"]
0
 
LVL 1

Author Comment

by:AshridgeTechServices
ID: 33564524
Yep that is the way i have done it, and it works for "preferred name" but not "department"


value.jpg
0
 
LVL 15

Accepted Solution

by:
melli111 earned 500 total points
ID: 33566499
Is "department" in your user properties lower-case?  Sometimes these things can be case-sensitive - I'm not too sure if it is with the user profile filter values or not, but you may need to set it as "Department"
0
 
LVL 1

Author Comment

by:AshridgeTechServices
ID: 33566653
Had thought of that already, and unfortunately it does not help.

Thanks for the suggestion though
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

These days socially coordinated efforts have turned into a critical requirement for enterprises.
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question