Load User to People picker in infopath form

Hi,
I am having an issue with populating user name to people picker in infopath form.
Based on some rules when an ID matches with the ID in list i am populating some fields to the form to make the user work easy. But i have a single line text field with all the user names when i populate the user it shows error that it cannot be found. I
know directly copying the user name to people picker doesn't work but tried querying before copying and tried couple of things. Nothin works is there any way to achieve this.
Thanks in advance.

Hi Cameron,
My data feed in to the form comes from a list. When a certain criteria is met the form should load the values from the list and one such field is user name from list to people picker in infopath form. But the user name column type in list a single line text
box not a people picker. So while copying the data how do i feed the username to people picker on to the form.

Similar Messages

  • Restrict group to edit users in people picke in infopath

    hi
    I have a document with people picker I want to restrict group A to pick or edit the users in existing document and groupB able to edit the users in people picker how is it possible to make it in InfoPath.

    Hello,
    This would be easy to do with groups that can access specific sections of the form and then use SharePoint or AD groups to govern access, but unfortunately it does not work in InfoPath. 
    One alternative possibility is to set up a list in SharePoint and enter the names of the smaller group of people into that list (Person field).
    The InfoPath form has a data connection to that list. The form has one section with a people picker and another section with a calculated field that shows the value of the people picker. 
    When opening the InfoPath form, check if the current user exists in the list and hide the section they should not see.
    cheers, teylyn

  • Disable People Picker In Infopath Form on Chrome

    Hi,
    we have a sharepoint custom list ,where we customized it with infopath designer
    In this form ,we have a button ,which makes a call to the list,and pulls out the details about user Manager if available and some additional details
    Always the Manager People picker value is a read only field.and we have a Nintex workflow running post submitting the form.
    The Button is simple "GetManagerDetails",which makes a call to the lists web service and gets the data.
    WE have disabled this  manager people picker control in Infopath by setting a formatting rule and 1=1 ,which runs everytime.
    This works perfectly fine in IE,However in chrome its not working as expected,the manager control is getting enabled.
    So we have written a javascrpt to disable it ,which is working fine on load of the form using jquery.
    When the user clicks on the button ,its sending a POST request and after that these control is getting enabled again.
    If we run the function to disable ,from the console window.the control is getting disabled.But to invoke this function post the click event ,
    I tried several options as below
    Window.load() which is working only on form load
    using PageRequestManager,and calling add_endrequest() is also not working
    setTimeout () in Javascript is not working either.
    Is there any way we can execute after that postback,I tried to attach callbacks in jquery which is not working either.
    Please help if anybody has any other ideas.

    Hi Sophie,
    According to your description, my understanding is that you want to send InfoPath form to  the individual  selected in the people picker via email. 
    I am afraid you cannot. Due to the limitation of connecting InfoPath forms  to a SharePoint Online web service, you cannot get the individual's email address and then cannot send email to him.
    http://support.microsoft.com/kb/2674193
    Best Regards,
    Eric
    Eric Tao
    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

  • How to set group name as default value in People Picker in Infopath 2010

    How to set group name (shareoint Groupname)  as default value in People Picker in Infopath 2010

    Under the Developer tab in Infopath you can manage Loading Events, unfortunetly i dont have Visual Studio on this PC so i cant laborate, but i believe it's rather simple to figure out.
    Edit: Found a easier way, through Data > Default Values.

  • Cannot remove deleted user from people picker - SharePoint Foundation 2010

    So I think I've read all the people picker articles here and I can't find a solution so I thought I'd start a new thread. Here is the issue:
    A user was deleted from Active Directory and removed from SharePoint Foundation 2010. The user was still showing in the People Picker within the site collection, so we have performed a few things to try and get rid of this user.
    User is deleted from AD
    User is deleted from SharePoint Site Collection
    Have tried stsadm -o deleteuser
    Have removed all mention of this user from UserInfo table
    User does NOT show in
    https://<SiteCollectionURL/_layouts/people.aspx?MembershipGroupId=0
    Cannot find any mention of this user anywhere.
    Ran a full crawl as we read on a forum somewhere that it might help.
    If I try and add the user back to SharePoint I get "The user does not exist or is not unique"
    If I try "stsadm -o deleteuser -userlogin DOMAIN\USER -url https://<sitecollectionurl>" I get "The user does not exist or is not unique"
    I am not sure what else I can try now. Can anyone help?
    Thanks,
    Vinny
    Vinny

    No other domain trusts that this user could be in.
    Just so everyone can stop with the warnings, we do NOT regularly delete users from the UserInfo table and fully are aware of the problems behind it, which is why it is so rarely done. But at times, you have to do what you have to do to help a customer, you
    know? This one user is the only one that was removed from the UserInfo table, but there are a few other users that are also deleted (from SharePoint, not manually from UserInfo) that are still showing as well. This one user included.
    There MUST be another place that the people picker gets it's information from. ALL of the user's old information still shows in the people picker (username, email address, display name), and yet none of that information exists anywhere other than in the
    People Picker. Mailbox is gone from Exchange, User deleted from SharePoint, User deleted from Active Directory. Is there no cache someone could point me towards that People Picker might store information in.
    Vinny

  • User cannot open attachment from infopath form in Sp2013

    Hi,
    We are having an issue where we can open infopath form sharepoint library and also see the attachment icon in the form but clicking on this attachment does not work i meant not able to open that attachment.
    Please help
    Thanks 
    srabon

    Hi srabon,
    I may not make myself clear. After you opened a new SharePoint Form Library in InfoPath, then in the Controls ribbon, expand it and add the File Attachment in Objects section.
    Now the form only contains file attachment control, we could use it to test if attachment control works in your SharePoint site. Then save the form and publish it with creating a new form library. Here is the shot cut:
    And could you see the small clip as command menu button hanging alongside the attachment? Could you double-click the attachment and download the attachment?
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Infopath 2010: How To Seperate Multiple Users Selected In People Picker With A Semicolon

    I've seen several posts on this forum about getting multiple user values in a people picker in Infopath to show up in a Sharepoint List.  Obviously, they merge which isn't all that useful if you want to use that data for a workflow. I followed
    Clayton Cobb's suggestion, and took a look at this blog which uses a
    no code solution, which is what i need. Everything for this blog works for me, but I do not need to use the UserProfile web service.
    I'm coming up just short though. I can successful select multiple users in my people picker, and as I do that, the text box populates itself separated by semicolons, but the same AccountId is repeated (of the 1st person selected in the people picker) instead
    of the unique value of each user.
    Here is my current result, with data fields shown
    Here is the result I would like to see. This way the text box gets upload into Sharepoint so I can use it in other places.
    Can someone please help me?  I'm very close.  Here is my function on the text box:
    eval(eval(Person, 'concat(/my:myFields/my:PersonTraveling/pc:Person/pc:AccountId, "; ")'), "..")
    XPath (advanced):
    xdMath:Eval(xdMath:Eval(/my:myFields/my:PersonTraveling/pc:Person, 'concat(/my:myFields/my:PersonTraveling/pc:Person/pc:AccountId, "; ")'), "..")

    Hi methitical,
    Please change your XPath (advanced) to
    xdMath:Eval(xdMath:Eval(/my:myFields/my:PersonTraveling/pc:Person, 'concat(pc:AccountId, "; ")'), "..")
    to make it work.
    Thanks & Regards,
    Emir
    Emir Liu
    TechNet Community Support

  • SharePoint People picker control in Windows form

    Hi All,
    I have a requirement wherein, I have to create an outlook add in to save data into sharepoint list. I have created a sample outlook add in to save the data into sharepoint list (all columns are of text) using windows form and it works fine. However there
    is one field in form which requires people values to be picked from AD and saved to sharepoint list.
    I have browsed the net but could not find any useful information. Is it possible to use OOB people picker in windows form? If not what are the other ways to achieve people picker functionality in windows form.
    Thanks in advance.
    Regards,
    Vinayak

    Hi,
    The
    PeoplePicker control is part of the Microsoft.SharePoint.dll, it will only work on SharePoint hosted pages. 
    Here is a link about how to use PeoplePicker control:
    http://karinebosch.wordpress.com/sharepoint-controls/peopleeditor-control/
    Anyway, you can fetch Active Directly users as the link below:
    http://www.codeproject.com/Tips/599697/Get-list-of-Active-Directory-users-in-Csharp
    Best regards
    Patrick Liang
    TechNet Community Support

  • List used to add permissions to InfoPath form updated, but people removed from the list still getting permissions.

    I have a list that gives users Contribute permission to an InfoPath form during a workflow action. This list has changed, and I have added and removed users from it. The people who I've added are getting permissions, but the people I removed are STILL getting
    permissions, even though they are nowhere on the list. What could be happening? I would greatly appreciate any help!
    Thank you,
    -Lyssa Prince

    I must not be explaining this very well, and I apologize for that.
    These are time sheets we're working with, so each user needs a certain set of people to approve and review his/her time sheets. The workflow we have running on each time sheet created reads which department the user is in, matches them with the row that
    contains the field "department" that matches their department, and gives permission to all of the users in the remaining fields TS Approvers and TS Reviewers. If I update these fields at all, the new users in these fields get permissions for that department's
    time sheets, but the people I removed from these fields do not stop getting permissions. It's as if there is a cached copy of the list which is being used by the workflow to assign permissions. This list will fluctuate, so it is not a viable solution to keep
    running powershell scripts to remove people from each of these items after they have been removed from the list.

  • Set default value for people picker only when user checks a checkbox (Sharepoint 2010)

    The javescript in below link works for me.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/2b130f64-3db2-484a-9a53-ccbe18d2c5de/set-default-value-for-people-picker-in-list-template-current-user?forum=sharepointgenerallegacy
    However, I'd like to set default user for people picker only when user checks a checkbox. 
    I am new to  development. Could you please help me on this requirement ?
    Thank you very much. 

    Hello,
    Use this link to to validate checkbox value, if true then set the person or group value (i.e. as posted in your link).
    http://geekswithblogs.net/haniamr/archive/2011/03/10/validate-that-a-checkbox-is-checked-using-javascript.aspx
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Access denied Error while calling Web Service form Infopath Form 2010.

    Hi Dear All,
    I have been facing an error while calling an GetUserProfileByName() web service method from InfoPath 2010 from.
    i have FBA(Forms Base Authentication )configured . After Infopath form published to site collection when i select an user from people picker control i want to get Email Id of Selected user for that i am calling getUserProfileByName() Web Method, but 
    i am getting Access denied error code 500.
    Any Help would be more than welcome.
    Thanks.

    Hi,
    Greetings. Please check 
    Check the IE settings. Click Internet Options> Security>Custom level. Make sure that the ‘Access data source across domains’ is enabled. Make sure that you have permission to the web service and to the content which the web service tries to modify.
    For more information, please refer to this site:
    "Access is denied." error in Infopath 2007 form + ASMX: http://us.generation-nt.com/answer/access-denied-error-infopath-2007-form-plus-asmx-help-65808252.html
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • SharePoint 2010 - InfoPath form not opening in browser but prompts to open or save the xml

    I have 6 site collections for a web app. An InfoPath form has been deployed which is filled by users from each subsite under these site collections. Until recently the form is working fine but recently it stopped opening the form in browser on 4 out of
    6 site collections. On the site collections it's not working, when users try to open the InfoPath form, they get the option to save or open the .xml file. This form hasn't been changed since Dec. Not sure what broke this. Can any one help?

    Hi,
    1.Check whether feature is activated for the infopath form on site collection level. if it is not activate and it will open form in browser.
    2.You need to set Browser
    File Handling  to Permissive.
    Open Central Administration -> Manage Web Applications
    -> Select web application -> General Settings >>
    Browser File Handling >> set to Permissive .
    https://social.msdn.microsoft.com/Forums/office/en-US/3367ce25-5933-47c5-9c10-b00f8a11fe4e/sharpoint-2010-published-infopath-2010-filler-form-open-save-or-save-as?forum=sharepointcustomizationprevious
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • Address Book Does Not Populate InfoPath People Picker Form Field in Chrome, Firefox, or Safari--only IE

    Since applying the December 2014 Cumulative Update for SharePoint Server 2010, the Address Book in all of our InfoPath forms will not populate the People Picker field in Chrome, Firefox, or Safari--it only works in Internet Explorer. People can still use
    the address book to search for names, but when they click on a choice, the name doesn't get transferred into the People Picker field. It used to work in all browsers before we did the CU.
    The workaround we have been using is to have people type a last name, first name (or username) directly in the People Picker, click the checkbox icon, and then click on the name they typed (now with a red squiggly line under it and a message that no exact
    match was found) to select from the list of names in the resulting popup. The workaround is not intuitive, and many users stop when they see the red squiggly line, believing it to be an error. Please help. Thanks!

    Hi In, you'll experience various types of issues when not using IE due to lack of support for functionality. The following links seem to be related to your problem and might give you a workaround:
    http://sharepoint.stackexchange.com/questions/85644/infopath-form-error-when-using-people-picker
    http://sharepoint.stackexchange.com/questions/80261/people-picker-not-getting-populated-in-the-sharepoint-site
    cameron rautmann

  • Infopath form people picker not working in outlook 2010

    Hi,
    I have created custom task form which has reassign feature. If the form is opened in IE, people editor control is working but in outlook account names are not resolved and dictionary also not working. There should be some work around as OOTB  approval
    task form could able to do it.
    So, Question is, why people picker is not working in Outlook? and how to make it work? If I store user profile in InfoPath form, people editor in outlook is working. but how to make a dynamic soap connection ?
    Thanks.

    Don't mark your own post as an answer when you obviously didn't understand the question...
    Dharnima mentioned it is working in IE but not working in Outlook, so it's obviously not because the
    "Requested By" field is in read only otherwise it wouldn't work in IE either.
    Like Navid.R mentionned, the problem is indeed when going through the "Reassign Task" button, but coming from Outlook.
    I have the same problem where the people picker validator and the people directory button doesn't work, only when coming from Outlook. I do click on Reassign Task, but I am unable to valide or open the people directory with both people picker buttons, simply
    nothing happens.
    I tried adding a native SharePoint Approval workflow to my list, and this one works fine. I can click the "Open Task" button in Outlook, click "Reassign Task" and then the people picker works perfectly fine.
    However my custom workflow (that has default forms) does not work when prompted from Outlook.
    I even tried to delete both forms and republish my workflow, so SharePoint can regenerate the forms by itself, it did generate new forms, but no luck either.

Maybe you are looking for

  • Item text in output

    Hi Friends, How to get item text in output (Smartform), which is maintained at Sales order Item Level - Text Tab aginast a line item. Pls reply me the table name and fielnd name. Text is maintianed almost 20 words (100 Char) Srikky.

  • Acrobat looks blurry in windows 8.1?

    I installed Acrobat X on a Windows8.1 machine.  The content looks blurry.  Any fixes?

  • Audio output from ATV carries noise/humm when also sending video

    I have my Apple TV connected to my LCD TV via HDMI, and I am also sending audio out via the RCA jacks to my distributed audio system (Netstreams Quartet). The audio signal going to the Netstreams system has a noticable humm to it. The humm goes away

  • PO Cancel release problem

    Hi, experts:   I am a beginer of SAP workflow,  I've got a problem when testing customized PO cancel release workflow.   My workflow is quite simple, just test whether the event  'SIGNIFICANTLYCHANGED' was trigered when cancel PO. I will receive info

  • Include a jsp in a servlet

    Hi, i have to include a jsp page containing the menu in a servlet that creates a pdf:          response.setContentType(CONTENT_TYPE_HTML);          PrintWriter out = response.getWriter();          out.write("<%@include file=\"../../include/menuoperat