cancel
Showing results for 
Search instead for 
Did you mean: 
wilkies0106aw
Nintex Newbie

UserProfileLookup and Custom AD attribute

Jump to solution

All,

Nintex Form 2013

SharePoint 2013

I'm using a calculated value with the following formula :  userProfileLookup(PeoplePickerControl,"employeeID")

If the form is filled out by the user currently logged onto SharePoint and the people picker is set to themselves, the employeeID is returned.

If the form is completed on behalf of somebody else the calculated value field value is blank

The employeeID field is then used as part of a url string on the form which when clicked, filters a SharePoint list based on the employeeID .

Default fields i.e. office, department etc. come through OK.

I couldn't use preferred named value as some of our names have special characters, thus the url is broken.

I can't use a workflow as the url needs to be live once the people picker control has been set. Yet, the value is available if I set it via a workflow.

Any ideas?

Thanks

Andrew

Labels: (1)
0 Kudos
Reply
6 Replies
Automation Master
Automation Master

Re: UserProfileLookup and Custom AD attribute

Jump to solution

Hi ‌,

It might be me, but I'm not quite clear on what the issue you're facing is here. Can you explain the actual problem your facing? Is it that the calculated value is blank when the user puts in another users name in the people picker?

0 Kudos
Reply
wilkies0106aw
Nintex Newbie

Re: UserProfileLookup and Custom AD attribute

Jump to solution

Ryan,

Yes, that's it.

0 Kudos
Reply
wilkies0106aw
Nintex Newbie

Re: UserProfileLookup and Custom AD attribute

Jump to solution

I think I may have figured this out.

Looking at SharePoint Central Admin and the user profile properties for the custom attribute. The attribute's default privacy policy is set to only me, not everyone.

This would explain why the current user can see their own value, but not the value of somebody else.

Need to test, after I've got the go ahead to change the setting.

Reply
wilkies0106aw
Nintex Newbie

Re: UserProfileLookup and Custom AD attribute

Jump to solution

Yes, the property policy was the issue.

0 Kudos
Reply
sdspecy
Nintex Newbie

Re: UserProfileLookup and Custom AD attribute

Jump to solution

I get all the other fields populated, except EmployeeID ! There are values for the user in AD though..
SP+NF 2013 environment

0 Kudos
Reply
wilkies0106aw
Nintex Newbie

Re: UserProfileLookup and Custom AD attribute

Jump to solution

Have you checked the following:

Looking at SharePoint Central Admin and the user profile properties for the custom attribute. The attribute's default privacy policy is set to only me, not everyone.

I'd suggest you start a new question also.

0 Kudos
Reply