SharePoint 2013 July 2014 CU - People Picker fields empty in Edit forms
After applying the July 2014 CU for SharePoint server, I discovered that Person or Group (People Picker) fields are not populated with server values in list item Edit forms. However, the field values can be viewed in list views
and in Display forms. I examined the client side code and determined that field data is not being returned from the server for Edit forms.
In a test environment, I uninstalled SharePoint 2013, reinstalled SP 2013 with SP1 and the issue went away. I then applied the May 2014, June 2014, and July 2014 CUs. The issue did not exist after applying the May and June CUs. It
did exist after applying the July 2014 CU.
There is a workaround for this issue. It's a little convoluted, but hey, it's SharePoint. First, you must have a list that has at least one entry in it.
To begin with, you must first
have a list with at least one item in the list.
Next you edit the item with a role that has at least Design privilege, but don't save your changes.
Instead you Edit the page so you can then edit that web part. You can edit the page by clicking on the cog icon and selecting Edit Page
Edit the web part itself
Under “Miscellaneous” section on the just exposed web part window, select "Server Render (Server Render)" in the drop down labeled “CSR Render Mode
Click on “Apply” button within the web part
Save
I was told also the Sept CU would fix the issue but it is under review and to wait until the first of October. Incidentally we found that if you put the entire list into Quick Edit mode, the issue does
not appear.
I hope this helps someone.
Similar Messages
-
hi friends
i have to people picker fields
pp1 and pp2
pp1 represents username
pp2 represents email id
here i problem is if user enters name in pp1, pp2 has to update with email id of corresponding user in pp1 dynamically.
using java script is there any solution for this.
please help meHope below will help
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
<script type="text/ecmascript" language="ecmascript">
var user;
var visitorsGroup;
function runCode() {
var clientContext = new SP.ClientContext();
var groupCollection = clientContext.get_web().get_siteGroups();
// Get the visitors group, assuming its ID is 4.
visitorsGroup = groupCollection.getById(4);
user = clientContext.get_web().get_currentUser();
var userCollection = visitorsGroup.get_users();
userCollection.addUser(user);
clientContext.load(user);
clientContext.load(visitorsGroup);
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed));
function onQuerySucceeded() {
alert(user.get_title() + " added to group " + visitorsGroup.get_title());
function onQueryFailed(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
</script>
<input id="Button1" type="button" value="Run Code" onclick="runCode()" />
</asp:Content>http://msdn.microsoft.com/en-us/library/office/jj246835%28v=office.15%29.aspxhttp://msdn.microsoft.com/en-us/library/office/jj920104%28v=office.15%29.aspxhttp://stackoverflow.com/questions/20981226/sharepoint-2013-get-current-user-javascripthttp://sharepoint.stackexchange.com/questions/31457/get-user-via-javascript-client-object-model -
Hi All,
My users require the ability to select a sharepoint group from a drop down list and then be able to select a user from a people picker based on the drop down selection. The best solution I was able to up with, was create a people picker
for each drop down selection and set the Sharepoint group field to the selected group. All people picker filed are hidden except the one that matches the drop down selection. When creating an entry from the sharepoint list this method
works perfectly.
However, when I add the list onto a site page using an "Listview webpart", then add an infopath web part and then finally connect the two parts, I get a "List View Lookup Threshold" error when selecting an entry from the list. I
understand from the error and reading that this error is related to the number of People pickers in the list. Is there a way to exclude temporary people picker fields from a site page query, as they are only temporary fields to allow the users
to select a person and then assign the name to another field.
DwayneHi Dwayne,
In SharePoint 2013, we could manually create a list for all users. Here are the reference:
Go to Site Settings > People and Groups > SiteMembers
Modify url
http://sitename/_layouts/15/people.aspx?MembershipGroupId=8 to
http://sp/sites/tutu/_layouts/15/people.aspx?MembershipGroupId=0 , now you will see All people in this site.
Change the view to List view, and copy the listview id in the url
http://sitename/_layouts/15/people.aspx?MembershipGroupId=0&View={viewID}
Go to Settings > List settings, copy the list id in the url
http://sitename/_layouts/15/listedit.aspx?List=listeid&Source=....
Now type the address in IE:
http://sitename/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl , such as
http://sp/sites/tutu/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=f3958d27-9c2f-4f8d-b221-89466e816667&View=696BFDC5-0C6E-4E27-818F-0E6292A18407&CacheControl=1
Save the owssvr.jqy from SharePoint site
Now you could see the file in your desktop with all users, save it as allusers in Excel.
Then import it to your SharePoint site, add an app > find an app > import spreadsheet
Regards,
Rebecca Tu
TechNet Community Support -
People Picker field and Web service -- multiple round trips to get Display Name value
Using Sharepoint 2010 and Infopath 2010, I have created a form that validates fields entered within the form by connecting to a .Net web service created by someone else. One of the fields that I need to validate is a People Picker field
for the Project Manager.
The connection to the Web Service runs correctly except that the People Picker goes through the validation process 3-4 times. I know this because I have a MessageBox showing the value for the InnerXML that pops up 3 times. The
first time the MessageBox shows no value for the XML, the next time it shows a name, and the 3rd time it shows no value.
Here is the code I'm using in the Infopath form (without the Messagebox):
Dim wsConnection As WebServiceConnection = DirectCast(Me.DataConnections("Validate"), WebServiceConnection)
Dim formNavigatorProjectManager As XPathNavigator = MainDataSource.CreateNavigator()
Dim wsNavigatorProjectManager As XPathNavigator = Me.DataSources("Validate").CreateNavigator()
strformNavProjectManager = formNavigatorProjectManager.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns3:ProjectManager/ns3:UserInfo/ns3:DisplayName", NamespaceManager).InnerXml
wsNavigatorProjectManager.SelectSingleNode("/dfs:myFields/dfs:queryFields/ns7:Validate/ns7:projectManager", NamespaceManager).SetValue(strformNavProjectManager)
wsConnection.Execute()
The line in BOLD above used to have just /pr:properties/p:properties/documentManagement/ns3:ProjectManager
but I thought my problem might be because People Picker fields are made up of 3 elements -- DisplayName, AccountID and Account Type. So I changed the XML. Sadly, that didn't make any difference.
I am using the CHANGED event which a colleague of mine thought would have taken care of the multiple round trips. But it didn't.
Hopefully someone out there can tell me what I need to do so that this People Picker field only get validated once (The form also has Managed Metadata fields that have very similar problems so I'm hoping that the solution for the People Picker field
takes care of the MMD fields too.) Thanks in advance. Carol.Hi Carol,
It is the behavior for setting People/Group field if you just select the node "/dfs:myFields/dfs:queryFields/ns7:Validate/ns7:projectManager".
Also you can try to only set the AccountID value of the People/Group field:
Dim wsConnection As WebServiceConnection = DirectCast(Me.DataConnections("Validate"), WebServiceConnection)
Dim formNavigatorProjectManager As XPathNavigator = MainDataSource.CreateNavigator()
Dim wsNavigatorProjectManager As XPathNavigator = Me.DataSources("Validate").CreateNavigator()
strformNavProjectManagerID = formNavigatorProjectManager.SelectSingleNode("/pr:properties/p:properties/documentManagement/ns3:ProjectManager/ns3:UserInfo/ns3:AccountID", NamespaceManager).InnerXml
wsNavigatorProjectManager.SelectSingleNode("/dfs:myFields/dfs:queryFields/ns7:Validate/ns7:projectManager/ns7:userinfo/ns7:AccountID", NamespaceManager).SetValue(strformNavProjectManagerID)
wsConnection.Execute()
Thanks,
Eric
Forum Support
Please remember to mark the replies as answers
if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Eric Tao
TechNet Community Support -
"People Picker" field not letting update SP linked table in Access
Hello all,
I have linked a SharePoint list to an Access database in order to manipulate some data. This list contains several fields, including a people picker in which its data come from SharePoint.
Once in my Access DB, I need to update some fields of this list, however when I try to change some values from a record that has the people picker populated I get the following error message: "you cannot reference rows created
when you are disconnected from the server because this violates the lookup settings defined for this table". I only get this when I have values on people picker, I can proceed without any problem when I have it set as blank.
So, do you have any idea on how to accomplish an update operation while having a people picker field populated?
Thank you in advance.Hi Pedro,
I recommend to check if the user populated in the RequestBy exits in User Information List in SharePoint site and the choices listed in Access for status field are existed in SharePoint Status column.
Please refer to this thread for more details:
https://social.technet.microsoft.com/Forums/office/en-US/8a7baf3b-5a3a-4631-82f9-b43d992155d1/updating-sharepoint-2010-list-from-access-2007?forum=sharepointgenerallegacy
More reference:
http://blog.incworx.com/blog/elizabeth-pecoras-sharepoint-blog/you-cannot-update-this-field-because-the-value-youre-trying-to-apply-is-not-valid-or-would-break-a-data-integrity-rule-error
Best regards.
Thanks
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to make a people picker field editable using Javascript
Hi All,
I wrote an javascript which populates current loggedin user name on to an people picker, which is working fine,
But its making the people picker field as readonly, i want this field to be editable so that i can add more users with the current loggedin user name already populated in the newform.aspx
below is the script what i have written
<script src="/_catalogs/masterpage/MashreqMasterpage/scripts/jquery-1.5.1.min"></script><script type="text/javascript" src="/_catalogs/masterpage/MashreqMasterpage/scripts/jquery.SPServices-0.7.1a.min.js"></script><script
type="text/javascript">
$(document).ready(function() {
var user= $().SPServices.SPGetCurrentUser({fieldName: "Title"});
$("div[title='Name']").text(user);
</script>
please help, thanks in advanceHi,
Please modify your code a bit as below, it won’t make the people picker control read only after setting a value:
var controlName = "MyPersonField";
// Select the People Picker DIV
var ppDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
// find the <input> under pp DIV
var ppEditor = ppDiv.find("[title='" + controlName + "']");
// Get the instance of the People Picker from the Dictionary
var spPP = SPClientPeoplePicker.SPClientPeoplePickerDict[ppDiv[0].id];
ppEditor.val(user);
spPP.AddUnresolvedUserFromEditor(true);
Best regards
Patrick Liang
TechNet Community Support -
Problem with People Picker field in sharepoint 2013 list
hi friends
i have a problem with people picker
default newitem.aspx
custom NewItem.aspx
why the selection option of the people piker is changing
how can i get the default functionality in custom page
please help meHello malli.share,
try to copy source code from newitem.aspx to custom_newitem.aspx (in SPD you can edit custom_newitem.aspx in advanced mode and paste the code).
Regards,
Alexander -
Add Users from people picker field to sharepoint group
Hi,
I have created infopath form and added people picker control and then created data connection to add users to sharepoint group.
Used UserGroup webservice and "AddUserToGroup" operation. If I select single user in people picker and click submit button, web service data connection adding user to sharepoint group without any issue but it's not working for multiple users.If
I select multiple users in people picker, web service adding only first user to sharepoint groups. In our company we do not prefer custom coding.
Can anybody help me out to resolve this issue?
Any help or suggestions would be appreciated.
Thank you,
AA.You ll be able to achieve this by placing people picker in repeating table control in the form, below url may help you.
http://infopath.wordpress.com/2013/04/02/people-picker-email-addresses-repeating-tables-infopath-2010/
Sivabalan -
Returning Name and Username from People Picker Field in Visual Web Part
Dear All
I am creating a visual web part that displays a list that I have created in SharePoint. One of the fields in the list is a People & Groups column type (People Picker) called 'Presented by'. In my web part, I would like to display the username and
the name of the person who has been 'picked' in this field. However, my using <%# Eval("Presented by") %> only displays their name. How do I get this field to also return their username?
Many thanks for your help
DanielYou ca use this code:- change it according to your need
int requestForUserID = 0;
string requestForUserLoginName = string.Empty;
string requestForUserName = string.Empty;
string userAccount = peoplePickerEmployee.CommaSeparatedAccounts;
string[] UsersSeperated = peEmployeeOnBehalf.CommaSeparatedAccounts.Split(',');
foreach (string user in UsersSeperated)
SPContext.Current.Web.EnsureUser(user);
SPUser spUser = SPContext.Current.Web.SiteUsers[user];
requestForUserID = spUser.ID;
requestForUserLoginName = spUser.LoginName;
requestForUserName = spUser.Name;
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin -
Ecma script add item with people picker field
hello,
I need to add item to a list which is having people picker ,i need to insert the value but it is not working for that field alone.
is there any different procedure is there.
thanksHi Krishnakumar_DeV,
Do you mean to add list item with people and group field value, multiple users and groups?
Use the follow sample code:
var users = new Array();
users.push(SP.FieldUserValue.fromUser(“user1alias”));
users.push(SP.FieldUserValue.fromUser(“user2alias”));
item.set_item(columnname, users);
item.update();
How to User ECMA CSOM to Set a field of Type SPFieldUserValue:
http://sharepoint.stackexchange.com/questions/47872/how-to-use-ecma-csom-to-set-a-field-of-type-spfielduservalue
Thanks,
Qiao Wei
TechNet Community Support -
Created By field and Modified By field and People Picker field values are hidden to other Users
Hi,
We have a strange permission issue in one of the MOSS-2007 server farm. The users are not able to see each other name in "created by" and "modified by" column value in lists and libraries. For example if "User A" create an item in a list then if "User B" opens that item then he cannot see "created by" and "modified by" column value and vice-versa. But they can see their name in "created by" and "modified by" column but not others. Both the users has contribute access to that list, so both can edit each other data but cannot see each other name.
This become a bigger issue, if any of tje list has people picker column, then thay cannot see that column value(if that column value does not his/her own name). This means this column value will be always empty for "user A" when that peopel picker value is anything other than "User A". This happens for all the lists and libraries.
Even "User A" and "User B" are owner of that site, it behaves the same. But site collection administrator can see "created by" and "modified by" for all items for all the users.
It seems very strange for me. any help on this will be appreciated.
Thanks in advance,
SanbanHi,
You can try to create a new standard view, then select “created by” and “modified by” column under columns, next apply this view, finally check the effect.
Did you customize the permissions of the list or document library? Did you customize the permission of the item? For example, break the permission inheritance form its parents. If so, try to inherit permission from its parents, after that create a new standard view according to the steps above, then check the effect.
By default, permissions on lists, libraries, folders, items, and documents are inherited from the parent site. However, you can break this inheritance for any securable object at a lower level in the hierarchy by editing the permissions on that securable object (that is, creating a unique permission assignment) . For example, you can edit the permissions for a document library, which breaks the permissions inheritance from the site.
You can also try to create a new document library, then create a new document with user A, after that log into with user B, check the effect.
For more information about SharePoint : page level permissions, please refer to the following article:
SharePoint : page level permissions
http://blogs.msdn.com/brettrobinson/archive/2009/04/24/sharepoint-page-level-permissions.aspx
For more information about control access to sites, please look into the following articles:
About controlling access to sites and site content
http://office.microsoft.com/en-us/sharepointtechnology/HA101001441033.aspx
Permission levels and permissions
http://office.microsoft.com/en-us/sharepointtechnology/HA101001491033.aspx
For more information about how to create a view, please refer to the following article:
Create or change a view
http://office.microsoft.com/en-us/help/HA100215771033.aspx
Hope this helps.
Rock Wang
Rock Wang– MSFT -
Hi I just installed July 2014 cu on my share point 2010 farm .
According to the lists available on the internet the build version for this cu is 14.0.7128.5001
after installation and executing the psconfig wizard in my central administration the
Configuration database version is showing 14.0.7128.5000
. shouldn't it be showing 14.0.7128.5001 instead ?.
Have i done something wrong?This is a common misconception.
http://blogs.technet.com/b/stefan_gossner/archive/2014/10/23/common-question-why-does-the-version-number-on-the-quot-servers-in-farm-quot-page-not-change-after-installing-october-cu.aspx
http://blogs.technet.com/b/stefan_gossner/archive/2014/08/19/sharepoint-patching-demystified.aspx -
Our SharePoint Foundation 2013 is experiencing a weird issue. It only happens in Task Lists. For example:
Create a new Task in Task List and fill the Assigned To field with a user from the People Picker list. The People Picker works fine as all users in Active Directory are appearing.
Save Task.
Edit Item the task that was just created.
The Assigned To field is now cleared for that Task.
It used to keep the user that was in the Assigned To column.
Are there any suggestions on what may have caused this or what I can try to fix this?
This was after some Windows updates were installed end of August.Hi PauIT,
According to your post, my understanding is that the “Assigned To” field is cleared when you edit a task item in the Tasks List.
I recommend that you can enable server rendering on the list view Web Part for the Tasks List to solve this issue.
To do this, please follow the steps as below:
Open the Tasks List in your site, add a new task item, type the user name in the “Assign To” field and save it.
Select the new item, click “Edit item”, then go to the Gear icon, click “Edit page”, click the drop-down arrow in the upper-right corner of the Web Part for the Tasks List, and click “Edit Web Part”.
On the right side of the page in the Web Part properties controls, click the plus sign (+) on the “Miscellaneous” section, select the “Server Render” in the “CSS Render Mode” section, then click “Apply”, “OK” and save the changes of the page.
Then, you can see if the “Assign To” field in the new item’s Edit Form has the corresponding values.
There are some similar threads for your reference:
http://sharepoint.stackexchange.com/questions/87089/assigned-to-column-text-hidden-but-filterable
http://support.microsoft.com/kb/2924913/en-us
Best Regards,
Yumi Fu -
Trouble with People Picker When Adding an InfoPath form to a form library
I have a site in SharePoint 2013 with a Form Library that uses an InfoPath form as its default template. Everything was originally created in 2010 (SharePoint 2010 / InfoPath 2010). When we upgraded to SP2013, I still had InfoPath 2010 and I noticed that
the people picker wasn't working (if I recall, I would just get ignored if I tried to click to open the address book). I have now upgraded to Office 2013, but when I click to open the address book for the people picker, InfoPath crashes.
I did some googling and tried the solution I found here:
http://www.zoutenbier.nl/kb/sharepoint-2013/infopath-filler-2013-crashes-with-sharepoint-2013-when-using-people-picker/
But changing the web.config caused the people picker in SharePoint to break (if I tried to add someone to a group, the picker would tell me that it couldn't communicate with the server).
I'm not sure what else to try. Anyone have any ideas?Hi Amy,
Have you restart your IIS when you add modify web.config on your SharePoint server?
http://social.technet.microsoft.com/Forums/appvirtualization/en-US/d6fa5812-64e0-4d80-94b0-0577ba43ce59/sharepoint-2013-infopath-2010-people-picker-does-not-works-when-opens-in-client-application-but?forum=sharepointcustomization
Or you can check the following article with similar errors, remove multipleSiteBindingsEnabled setting from web.config and removed second web site binding from IIS, then check results again after iisreset.
http://xblogs.kompas-xnet.si/post/SharePoint-Designer-2013-Crashing-when-using-select-peoplegroups-from-SharePoint-site.aspx
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Daniel Yang
TechNet Community Support -
'$P_CRM' is undefined Error while opening Lookup field in Bulk edit form in CRM 2013
Hi All,
I am getting this strange error in MS CRM 2013
When I do bulk edit for any entity , I select 2-3 records and click on Edit , the Bulk edit form opens
then whenever I clicks on any field which is lookup type It does not open , after debugging with F12 developer tool
I am getting this error. "'$P_CRM' is undefined"
I have MS CRM 2013 on premise , Service Pack 1 Update Rollup 1 installed and using IE 11.
Any Idea
Regards,
Vilas
Vilas Magar http://microsoftcrmworld.blogspot.com/Few questions that might help us to identify issue:
1. Have you enabled Social Insight ? If yes can you try bulk edit on entity which don't have social insight enabled and confirm if it repro there?
For more information on how to enable Social Insight :
http://technet.microsoft.com/en-us/library/dn659847.aspx
2. When you close bulk edit form are you getting script error dialog? If yes can you share that error log reports?
Maybe you are looking for
-
Error while runnig adcfgclone.pl dbTier
Hii. i was cloning my PROD instance to a Test instance and while configuring the target system database server perl adcfgclone.pl dbTier, Im getting the following error The new database context file has been created : */u03/UAT/uatdb/10.2.0/appsutil/
-
the bank site does have "https//:" on it, but no security lock shows in the lower right hand corner. It always was there before.
-
Question about eaither a user or dreamweaver error
Hello everyone, When I added some html code that integrates with another php file for a "contact us" form, now all of the content almost is blank in dreamweaver. I can still preview in the browser and it looks correctly but am wondering why it
-
4.6 sync configurat​ion error code 0x3b21
Hi. I've finally got desktop manager 4.6 running and my blackberry 8330 backed up. When I try to configure syncronization for Outlook 2000, the error "Warning encountered--warning code 0x3b21 check documentation" comes up. I'm having trouble track
-
Reciever Interface missing in SXMB_MONI
Hi, When an XML message is generated in my backend ECC 6.0 system, SXMB_MONI does not show any entry in the Reciever Interface coloumn. Hence the message will never go to the PI server. SLD & SM59 connections are working fine. Could we be missing out