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 me

Hello 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

Similar Messages

  • Auto update people picker value with email id when we add username in another people picker field in sharepoint 2013 list using javascript

    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 me

    Hope 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

  • Third Party Solution that allows Azure AD Group Augmentation and People Picker query in SharePoint 2013

    Hi Guys,
    It would be very helpful to me if anyone can share any 3rd party solution for the above feature?
    I found a solution http://azurecp.codeplex.com/ which is really a very good solution and does what I want. As this is a critical requirement to my SharePoint, there needs a certain level of support (or call it Official Support) which is more justifiable
    at management level. Hence, please share if you happen to know one please.
    Cheng

    Hi,
    As you said, AzureCP is third party solution, this is third party tools.
    https://azurecp.codeplex.com/releases/view/125008
    Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding
    this product's performance or reliability.
    Please refer to the following articles about intergrating sharepoint 2013 with Azure Active Directory:
    Integrating SharePoint 2013 with Azure Active Directory – Part 1 Configuration
    http://blogs.technet.com/b/speschka/archive/2013/05/10/integrating-sharepoint-2013-with-azure-active-directory-part-1-configuration.aspx
    Using Microsoft Azure Active Directory for SharePoint 2013 authentication
    http://technet.microsoft.com/en-us/library/dn635311(v=office.15).aspx
    Regards.
    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 Support, contact [email protected]

  • 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.
    thanks

    Hi 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

  • 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

  • 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.

  • SPD 2013 Workflow - Create list item with people picker in other site collection

    Hi all,
    I read a lot of blogs and forum posts the last couple of days, but I seem to be stuck as to why my workflow is not working as expected - thus, I thought I would ask the experts :-)
    Setup:
    2 lists in 2 different site collections
    http://svr-url/servicedesk/tickets
    http://svr-url/projects/requests
    SharePoint 2013 on Prem
    I try to create a SPD 2013 workflow that creates a new item in list "requests" once a certain trigger is set in list "tickets". One of the fields I need to copy is the requestor = People picker field.
    I did a web service call with a REST call to create a list item. All works well as long as I just stick to Title and other text fields, but filling in the "Requestor" fails with "Bad request".
    I learned I need to use the "RequestorID" field and in a blog I read I need to put in the user id as Int32. So I set the parameters in the dictionary to integer. Still I get "bad request".
    Another issue: as I have lists from 2 site collections, the user id differs for the same user.
    /servicedesk: ID = 9
    /projects: ID = 22
    Additionally, the possibility exists that the user I try to set is not already existent in the /projects user information list.
    How can I deal with that?

    check this
    http://community.office365.com/en-us/f/154/t/127887.aspx

  • Is there a way to exclude temporary people picker fields from a query when receiving the "List View Lookup Threshold" error.

    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.
    Dwayne

    Hi 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]

  • Update Managed Metadata field in SharePoint 2013 Designer Workflow for O365

    Hi Guys,
    I need to update the managed metadata field in SharePoint Custom List using Workflow but its not working. I have also tried to use the HTTP WebService POST Operation but no luck.
    Am doing this for a SharePoint Online (O365) Site.
    Has anyone worked on something similar and was able to get it running ?
    I saw a post to create a custom Workflow Activity but I don't have a choice to go with the custom code option.
    http://patrickboom.wordpress.com/2013/07/23/workflow-activity-set-managed-metadata-column/
    I was able to achieve this by creating a SP 2010 based Workflow for O365. Which means that it worked well with SP 2010.
    Is there a different way to do it in 2013 ? I tried almost all options apart from creating custom Activity but nothing worked out. 
    Any help would be great.
    Thanks,
    Nutan
    Nutan Sharma

    Hi Nutan,
    According to your description, my understanding is that you want to update Managed Metadata field with SharePoint 2013 Designer for SharePoint Online.
    As far as I know, there is not an OOB action to achieve your requirement with SharePoint 2013 Designer for SharePoint 2013. Customizing a workflow action is a better option to achieve it.  Why didn’t you customize a workflow action as Patrick’s blog?
    In addition, please take a look at the article about Nintex workflow, check whether it is useful for you:
    http://habaneroconsulting.com/insights/setting-managed-metadata-fields-in-a-nintex-workflow#.UykBSf6KDHo
    As this issue is about SharePoint Online, I suggest you create a new thread on SharePoint Online forum:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=onlineservicessharepoint . More experts will assist you.
    I hope this helps.
    Thanks,
    Wendy
    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]
    Wendy Li
    TechNet Community Support

  • Add datetime property to "MetaInfo" field using SharePoint 2013 CSOM

    When uploading a file along with metadata using SharePoint FP RPC (using the "method= put document") it allows me to properly add datetime properties. My metainfo looks like this:
    "MetaInfo":"...MyCustomDate:TW|05 Jan 2015 12:58:31 -0000\r\n..."
    Then later on, when I try to update "MyCustomDate" property from the "MetaInfo" field using CSOM, it fails while updating it. (In this case I am using CSOM because I am updating some more fields and I want to avoid extra round-trips)
    After that update my metainfo looks like this:
    "MetaInfo":"...MyCustomDate:FX|0x01d028e7|0x4d1c4880\r\n..."
    Does anyone know why?, is there any workaround?
    Thanks

    Hi,
    If you want to add datetime property to "MetaInfo" field using SharePoint 2013 CSOM, the following code snippet for your reference:
    using (ClientContext context = new ClientContext("http://yourserver/"))
    context.Credentials = new NetworkCredential("user", "password", "domain");
    List list = context.Web.Lists.GetByTitle("Documents");
    ListItem oListItem = list.GetItemById(1);
    oListItem["MetaInfo"] = "MyCustomDate:TW|08 Jan 2015 12:58:31 -0000";
    oListItem.Update();
    context.ExecuteQuery();
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Sharepoint 2013 list view quick edit does not work with out remote API permissions

    sharepoint 2013 list view quick edit does not work with out remote API permissions.
    When I give Use Remote Interfaces  -  Use SOAP, Web DAV, the Client Object Model or SharePoint Designer interfaces to access the Web site it works which is not an ideal situation..
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    This is true. If you use Fiddler to watch the requests from the list view quick edit you can see CSOM calls. For example when changing a value in a cell, when you tab out you will see the SetFieldValue and Update method calls on the list item.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • 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 advance

    Hi,
    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

  • IOS 7.1 Problem with People Hearing Me

    I purchsed my IPhone 5S in December 2013 and never had a problem with people hearing me talk when I called them until I downloaded IOS 7.1.  My voice was very faint or you could not hear me at all.  I found out through another discussion group that the update may have turned my noise cancellation to off.  I checked it out and swtiched it back on and the problem went away and people coud hear me talk again.

    Hello All again,
    I have found a fix for others that may experience the same issue.  The root of my problem appeared to be caused by Bookmarks that were created from Dropped Pins.  I use Dropped Pins to Bookmark mostly everything here in Korea because the addresses here are a bit confusing.  It appears Apple has updated some Map Data (I could be wrong), and my Bookmarks from Dropped Pins had incorrect addresses.  This of course is just my best guess.  Bellow is what I did to fix my problem:
    I went through each of my Bookmarks one at a time and clicked on them.  Instead of clicking on the Car Symbol for directions, I dropped a new Pin right next to the old Bookmark.  I then created a new Bookmark from the Dropped Pin and labeled it the same, but with the number 2 so I could determine old from new.  After clearing Maps and selecting the new Bookmark, I could then click on the Car Symbol and it would route the directions just fine.  After verifying the new Bookmark worked properly, I deleted the old Bookmark.  Rinse and repeat for all of my Bookmarks, re-ordered them and now its as if I never had a problem in the first place.  Tedious work, but managed to solve my problem.  I hope this helps for anyone else that may have the same problem.
    Have a good day.

Maybe you are looking for