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

Current User people picker not populating when published

I want to make certain fields on my form only editable if the current user is the one named in another field, but none of the expressions i'm trying seem to work. I'm pretty sure it comes down to whatever is causing the following behaviour.

I built a form that has a calculated value to display the current user, as well as a people picker that populates based on the current user. When I preview, it looks like this (Username Redacted):

PeoplePicker1.jpg

However when I publish the form and open an item, it looks like this:

PeoplePicker2.jpg

Is there any reason why it would work in preview but not when published?

Thanks

Mish

Reply
9 Replies
Automation Master
Automation Master

Re: Current User people picker not populating when published

how do you populate your people picker? by a javascript?

the problem could that you have disabled the control hence its reference variable is not created. if you open developer console can you see any errors?

0 Kudos
Reply
mbayoumi
Nintex Newbie

Re: Current User people picker not populating when published

I just set the formula of the default value to the current user.

PeoplePicker3.jpg

0 Kudos
Reply
Automation Master
Automation Master

Re: Current User people picker not populating when published

Very odd behaviour...

Any other rule or javascript function existing that could maybe disable your control? Did you follow Marians suggestion and took a look at the developer console to see if any error comes up?

0 Kudos
Reply
Automation Master
Automation Master

Re: Current User people picker not populating when published

weird, it works for me this way.

I would check developer console, whether there are not reported any error, maybe from other formulas or rules.

0 Kudos
Reply
mbayoumi
Nintex Newbie

Re: Current User people picker not populating when published

I've got some javascript working a tiered set of drop downs at the top of the page (Trying to filter a list lookup based on two drop down selections ) but those fields are unrelated and unlinked to this one. Developer Console shows some warnings but no errors.

PeoplePicker4.jpg

0 Kudos
Reply
mbayoumi
Nintex Newbie

Re: Current User people picker not populating when published

I've got some javascript working a tiered set of drop downs at the top of the page (Trying to filter a list lookup based on two drop down selections ) but those fields are unrelated and unlinked to this one. Developer Console shows some warnings but no errors.

PeoplePicker4.jpg

0 Kudos
Reply
Automation Master
Automation Master

Re: Current User people picker not populating when published

what about those 'unmatched end tag', doesn't they break your HTML document? broken structure can prevent to execute some javascript(s).

can you sort them out?

the other thing I would try is to remove all your javascript code and tested the form without it.

0 Kudos
Reply
mbayoumi
Nintex Newbie

Re: Current User people picker not populating when published

I don't think they affect it,every other element on the form works fine, including lots of validation and formatting rules.

I'm going to try it again on a blank from for a different table on the same site and see what happens.

0 Kudos
Reply
Automation Master
Automation Master

Re: Current User people picker not populating when published

have you succeeded with new form?

0 Kudos
Reply