Default Person Group Picker

Having a problem with Person Group Picker. I add a PGP control to the form and then drag it’s DisplayName and AccountID there also to view/reference.
If I manually enter a name, say John Doe, into the control and check it, the DisplayName shows “John Doe” and the AccountID shows “i:0#.f|membership|[email protected]” like I’d expect.
However what I really want to do is default the control to the current users name. I’ve found posts that explain to set the default value for both DisplayName and AccountID to UserName(). That works,
except that the DisplayName remains set to “i:0#.f|membership|[email protected]”. Does not seem to update it even when form is submitted or saved.
I tried leaving the DisplayName default unset. But then DisplayName just remains blank.
Is there a way to trigger and update of this field?
Background: I’m using InfoPath 2013 published to a SharePoint/Office 365 site.
Jim Brown

Hi Jim,
I understand that the error occured when you opened the form in browser.
Error 5566 with InfoPath can be a result of different cases, you can take a look at the thread below for troubleshooting:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/244f67f1-bf52-412b-b9a2-c2357a645bb9/issue-with-infopath-error-5566?forum=sharepointcustomizationprevious
Did the web application use claim based authentication?
If yes, please follow the steps in the links below to auto populate User Information in InfoPath with Claims Based Authentication in SharePoint:
http://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-1-of-3/
http://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-2-of-3/
http://spvee.wordpress.com/2013/04/10/auto-populate-user-information-in-infopath-with-claims-based-authentication-part-3-of-3/
Here is a similar thread for you to take a look:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/74a23382-3e47-470d-ba6d-f848aaf78220/infopath-browser-form-fails-and-gives-5566-error?forum=sharepointgeneral
Best regards.
Thanks
Victoria Xia
TechNet Community Support

Similar Messages

  • Can you set default values for person/group picker fields? To current user?

    Two-part question/issue . . .
    Part 1:
    In InfoPath 2013 in use with SharePoint 2013, how do you set a Default Value for Person/Group Picker fields? Other field types like Text Boxes have a Default Value section in the Data tab of Properties.  There doesn't appear to be any equivalent for
    the Person/Group Picker field type in Properties.  I'd like to set a default person for a few fields in a form I've created.  Is this possible?
    Part 2:
    The default user I want to set for one of those Person/Group fields is the "current user."  I want a user to log into our SharePoint 2013 intranet, load a new form for edit/creation, and have one of the Person/Group fields in that form to
    automatically populate this particular user.  Is this possible?

    Hi Stephen,
    You can auto populate your InfoPath farm with current user Name and all other property that you have in your User profile, you have couple of options.
    First you can make a secondary connection in your InfoPath form with user profile and can use the UserProfileService.asmx and call the GetUserProfileByName method. Here is the steps you can follow.
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx
    Secondly you can use JQuery and SPServices ,
    $().SPServices.SPGetCurrentUser function to populate the values with script to achieve the same in this case you no need to use InfoPath form just create simple text type column in SharePoint
    list and auto populate it with getting the current user Name from User Profile here is the scripts
    <script language="javascript" type="text/javascript" src="../../jQuery%20Libraries/jquery-1.4.2.min.js"></script>
    <script language="javascript" type="text/javascript" src="../../jQuery%20Libraries/jquery.SPServices-0.5.4.min.js"></script>
    <script language="javascript" type="text/javascript">
    $(document).ready(function() {
      var userCurrentName = $().SPServices.SPGetCurrentUser({
        fieldName: "CurrentUser"
      $("input[Title='CurrentUser']").val(userCurrentName);
      var userPhone = $().SPServices.SPGetCurrentUser({
        fieldName: "WorkPhone"
      $("input[Title='Phone']").val(userPhone);
    </script>
    Krishana Kumar http://www.mosstechnet-kk.com

  • SharePoint - Person Group Picker - Problem 'JSON' is undefined

    Hi,
    I have the following problem:
    If I click on " Person Group Picker " control in the form by web I get warning:
    This problem exist on IE 11. In Chrome in OK.
    What is wrong?

    Hi  stockDevelopers,
    Is your
    “Person/Group Picker " control  a custom InfoPath form control?
    For my test, I customize a list form using InfoPath and add a  “Person/Group Picker " control. Then I test it in my IE 11, but all work fine.
    Is the form having embed code?
    Also two settings you can have a try:
    1.Open your “Person/Group Picker " control in IE 11, and then press F12, and click Browser Mode, choose IE 10.
    2.If your issue persists,  press ALT, and then click Tools in the Menu bar, click Compatibility View Settings, turn OFF compatibility mode for intranet sites.
    A thread you can have a look:
    http://forum.jquery.com/topic/json-is-undefined-with-jquery-min-2-0-3-on-ie-11
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • InfoPath 2010 - Person/Group Picker Properties - Relative Path?

    Hello,
    How, if it is possible, do you specify a relative path in the Person/Group Picker Properties?
    This is for InfoPath 2010.
    Thanks,
    John

    Hi  John,
    Do you mean  that specify a SharePoint site to query for people and groups?
    If so , you can take steps as below:
    Add a Person/Group Picker control in your InfoPath form.
    Right click the control and select Person/Group Picker Properties.
    Click SharePoint Server tag, you can input the SharePoint site URL for specifying a SharePoint site to query for people and groups.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Missing the Person/Group Picker control

    I am using SharePoint 2013 with InfoPath 2010.  I have a SharePoint list that is set as a Data Connection in an InfoPath form (it is being used as a Document Information Panel for a Word document but that really shouldn't matter). That SharePoint list
    includes three different People Picker custom Site Columns. 
    BUT when I try to add those People Picker columns to my InfoPath form the "Person/Group Picker" option is nowhere to be found.  Instead, I only get the options to add the field as a Section or Section with Controls.  It doesn't appear
    in the Ribbon either.
    If I open InfoPath directly and create a new form using the same SharePoint List, the three People Picker fields appear as Person/Group fields in my form.
    Can someone please tell me what is going on and how I can fix this?  Thanks.  Carol.

    Hi Carol,
    By my test, the created document information panel  has no "Person/Group Picker" control, no matter I create it on document information panel settings of library content type or on infopath new document information panel template.
    It is by design that we can not add Person/Group Control on Document Information Panel manually. And as far as I know, there is no workaround to get over it.
    Best Regards,
    Eric
    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]

  • Issue in binding person/group picker control with splist columns

    hi,
    i have a infopath form with fields, we have Primary approver and Secondary approver fields as person/group picker control, user will enter the person name and on clicking save button data getting saved in lists.
    When user come back to this page data not getting populated in person/group picker control like other textboxes. So we need binding of list data to person/group picker control.
    Same issue exists with the dropdown list. 
    can anyone pls  help how to do this.

    You have to do this: 
    http://spandps.com/2012/02/16/infopath-2010-people-picker-control/
    to promote people picker fields from InfoPath to SharePoint LIbrary.
    Hope it helps.
    Best regards.

  • Defaulting material group in Purchase requisition

    Hi experts,
    I need to default material group of a purchase requisition as '6HA' if the asset assignment category is 'A' . Doing this by the personal settings option in ME51n is not what I require. Could you please suggest me of an appropriate BADI or exit to achieve the same where in I can perform my required validations as well.
    Thanks and Regards,
    Puja

    Hi,
    Did you copy the class manually?
    How did you implement this badi?
    This BADI should be called while creating the PR/before saving the PR.
    Enahncements are not assigned in SPRO.
    The link between the transaction and badi would exists already, and when you write some code in any interface of this badi, and activate the implementation.....it should be called automatically during the transaction processing, provided it meets the criteria.
    You can check whether your PR is reaching this implementation or not by putting breakpoint in the badi implementation.

  • Default Material Group based on PO Doc Type

    Dear Experts,
    Is there any standard configuration available to default Material Group in PO based on Document Type. I checked the forum, one of the earlier posts is suggesting Enhancement, but I am looking for Configuration.
    I cannot use IMG--> Materials Management --> External Services Management --> Source Determination and Default Values --> for Purchasing Organizations, since it is already used by Freight team.
    Please advise.
    Manish

    Hello Manish,
    As already mentioned by all members that this is not possible by using Standard Configuration. What you can do is if this material group is going to be used everytime by the Purchase Department users, then you can ask them to make this default in their personal settings in ME21 Tcode. Every time they will execute the transaction system will default this material Group. The same can be done for doc type also.

  • How to use people/group picker to send emails

    Hello all,
    Forgive me on my lack of understanding this subject. I've read multiple articles and it is driving me crazy! All I need to do is have a user select someone from "people/group picker", click a button and the person selected gets an email. That is
    it!
    I need a simple set of instructions. Help!

    Hello,
    You need several things:
    a view that contains the form and text for the email body (Email view)
    a data connection to "Submit to Email"
    a data connection to GetUserProfileByName
    Re 1: create a view with the field controls and the text that you want to email. Alternatively, if the email is all static text, you can enter it in the email body in step 2.
    Re 2: create a data connection to submit to email: on the Data ribbon click the
    To Email button and follow the prompts. You can go back later to modify the data connection, change the fields and configure them to receive data from your form. Set the "To" field to receive its value from a field in the form (emailHelper)
    Re 3: When the button is clicked, you need to get the user's email address from the UserProfile service. The steps are explained in this page http://sharepointisland.wordpress.com/tag/getuserprofilebyname/ and
    consist of setting up a data connection to the User Profile Service "_vti_bin/UserProfileService.asmx?WSDL"
    on the site, feeding the user AccountID into the query field, querying the service. After that the data connection contains the user's data and you can filter it with the "WorkEmail" parameter. 
    This is the value that you need to put into the "To" field of the "Submit to Email" data connection. You may want to store the field in the emailHelper field and then point the "To" field to emailHelper.
    The button to send the email is on the Users view and should contain these actions
    set a fields value - User Account ID to the GetUserProfileByName query field
    query a data connection - the GetUserProfileByName connection
    Set a field's value - the emailHelper field to the GetUserProfileByName field filtered by Name = WorkEmail
    Switch to the Email View
    Submit to Email data connection
    Switch back to Users view
    cheers, teylyn

  • Uninstall IE and set another web browser such as Chrome and FireFox as default using Group Policy

    Hi there,
    Please can anyone instruct me on how to uninstall IE and set another web browser such as Chrome and FireFox as default using Group Policy. Your help would be much appreciated.
    Kind regards,
    RocknRollTim
    P.S. I was redirected by a forum user off the Microsoft Community forum.

    IE can't be uninstalled.  It's part of the operating system and cannot be removed.  You can hide the icon but the engine is still on the machine and still must be updated.
    This is a topic best suited for a Group policy forum. 
    https://social.technet.microsoft.com/Forums/en
    US/home?forum=winserverGP
    Step one is to install the Chrome ADMX templates - see the link below for more detais:
    Configuring Google Chrome via Group Policy | Jack Stromberg:
    http://jackstromberg.com/2013/08/configuring-google-chrome-via-group-policy/
    Of the two browsers, my personal preference is Chrome over Firefox.  Firefox's add in model is too prone to developer insecurity.
    My blog
    Thanks Justin Gu for marking this as the proposed answer.
    Thank you,
    RocknRollTim

  • How do you get Personal Groups into iphone 5s?

    I have a few personal groups on my outlook account that i use quite often. Is there a way i can import the personal groups i have from my outlook account to my iphone 5s? That way when i sent an e-mail, I can just send it to groups instead of typing them individually? 
    If not, is there a work around or suggestions??
    Thanks.

    When you ask a question, please include the version of Mac OS X on your computer. iOS is not a Mac operating system.
    Assuming you are running OS 10.9.1:
    Open Contacts. Click File in the menu bar and select New Group. Enter the name of the group in Contacts on the left.
    Go back to All Contacts (on the left) then drag and drop the names you want in that group on to the folder you just named.
    Repeat as necessary for other groups.
    Note that the names remain, as they should, in All Contacts, even after you have added them to a group.. You can delete a group if you want. The names will still remain in All Contacts.

  • Default Purchasing Group in Purchase Order from user parameters of an user

    Hi Team,
    I have an issue in defaulting the Purchasing Group in PO.
    The Purchase Order is capturing the Purchasing Group of the Contract when the PO is created with reference to a Purchase Requisition which in turn is created with reference to a contract.
    The Customer says he has default Purchasing Group in his user profile - parameter tab which would always overwrite any other Purchasing Group. But now, he is getting the Purchasing Group of the contract in the Purchase Order.
    Team,
    Request you to post your comments/ suggestions for this.

    Dear,
    System is behaving in the correct manner..
    If at all P GRP is maintained in contract....It will be defaulted in the PO.
    If there is no P grp data in the ref doc, then system will check the default parameters maintained in the User profiles.
    Regards
    Utsav

  • How to add a default user group for multiple document type's?

    Hi,
    I am trying to add same default user group for different document types when MA is created. Is there any way to setup using a single "Document Security Template"? Or I need to create different templates for different document types?
    Please confirm.
    Thanks,
    Saloni

    Hi Saloni,
    Based on what your specific requirement, it might be easier to do it with scripting.
    If you are doing it using Document Security Templates, you would have to create a Document Security Template for each of the 6 MA types and assign the default group. Create another one and leave the Document Type field blank, so it will apply to the other 4 MA types that don't have a default group.
    Regards,
    Vikram

  • Default VAT Group display 'funny' characters at List of Accounts

    Hi,
    Using SAP Business One 8.82 (8.82.079) PL: 14
    l would like to display "Default VAT Group' in the list of accounts, l have setup the form setting accordingly; however the list of accounts display characters different from the expected... look like encryption key...
    Yes, the customer do have encryption setup for users, but i suppose it should not affect default VAT Group code view from list of accounts.
    You may refer my print screens for more details.
    Any idea?

    Hi,
    This is standard behavior if you choose encryption for users. Please refer SAP help file:
    Define encryption for a user for the following confidential data in the system.
    G/L account balances
    Price lists
    Thanks & Regards,
    Nagarajan

  • Default User Group in SAP Query (SQ01)?

    Hi,
    Is there a configuration or parameter to set so that when starting SU01 it will open a certain User Group by default, e.g. Z1234?  Clicking the button "Other User Group" is tedious for end users.
    Thanks, will assign points.

    Unfortunately those steps take you to SQ03, "User Group: Initial Screen".  There is no option in SQ03 to set a default User Group, either.
    Any other ideas?
    I tried searching for parameters in SU01, but there isn't a suitable parameter.
    Advice welcome

Maybe you are looking for

  • More Mac OS X Fullscreen Issues

    Howdy all, Having an interesting problem on Mac OSX 10.3.4. Seems that if you try to start full screen exclusive mode from the AWT-Event thread, it hangs forever. I have a swing app for displaying a slideshow, and want it to display fullscreen. The a

  • Black background disappear on grid, stack.

    when i click my stack which show as grid, the black background disappeared. Directly showing the desktop background, anyone help?

  • CAN I USE TWO SIM CARDS IN ONE IPHONE?

    I HEARED ABOUT A COMPANY MAKES KIND OF ADAPTATIONS TO INCLUDE TWO SIM CARDS IN THE IPOHONE 4 IS THERE ANY PROBLEM WITH THAT?

  • Document supported and not supported by SAP

    hai Gurus, I have the following query. 1) Whether SAP Document Management System support the following document type. -technical drawings -charts -text documents, such as reports or manuals -contracts -Auto Cad files -WBS elements -spreadsheets 2) Wh

  • Photoshop cs4 extended not working on 10.10 Yosemite

    Hi, I have just bought my IMAC 27inch Retina .. Its lovely by the way.. Only thing is on that, and my other macbook air that I installed Yosemite on, Im getting an error Java To open "Adobe Photoshop CS4" you need to install the legacy Java SE 6 Runt