RE: Populate People Picker value based on user selection in muti-select list box - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

RE: Populate People Picker value based on user selection in muti-select list box

Last post 09-09-2021 09:51 AM by Keerthi06. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-09-2021 07:39 AM

    RE: Populate People Picker value based on user selection in muti-select list box

    I have been using InfoPath 2013 to create a list form. I need one help in SharePoint InfoPath auto populating people picker. My requirement: • I need to pull the people picker names into the field “Name” based on User selection in multi-selection list box "Company Code" (checkbox ticked). Created a data connection named – "ABC" as secondary data. • Both the columns are there in secondary data source. I have applied the rule in multi- select box for populating the people picker fields using the secondary connection. • The people picker field auto populates correctly with correct user name as per the data connection. But only one name is shown at the time of selection in multi-box. I need to show all the names whatever is being selected by the in "Company code" field checkbox (one by one). Please refer the screenshot for your easy reference. Kindly help out.
  • 09-09-2021 08:22 AM In reply to

    Re: RE: Populate People Picker value based on user selection in muti-select list box

    This can't be done without code or a third-party tool like qRules / FormsViewer. That's because InfoPath doesn't have any rule actions for inserting new repeating elements. If you change your data structure to a repeating table and just have a single select dropdown and a single person, then have the user manually insert rows, that may be a work around. Then if the user needs to pick more than one item, she inserts another row and you don't have to worry about the repeating elements.
    Hilary Stoupa

  • 09-09-2021 09:51 AM In reply to

    Re: Populate People Picker value based on user selection in muti-select list box

    Hi Hilary, Thanks for your comments. But i need this to be achieved as part of my requirement. Explaining the requirement in details: My form have one drop down ("product") which is the primary field of my form. User will select "product" from this dropdown. I have one data connection with products and company code and added it to the dropdown list. I applied the necessary rules which will populate respective "Company codes" (mutl- select box) based upon product value in drop down. Eg: Product: ABC Company Code - 1234 2345 6789 once populated, user needs to select the required company codes in multi select list box. Based on company code selection i need to populate people picker with Email. Already I have the company code with respective names(Emails) and enabled as secondary connection for this mutli-select box at back-end. Expected output should be like this if user selects first two options in muti- list box: Eg: Product: ABC Company Code - 1234 abc.@domain.com 2345 cdf.@domain.com 6789 i got stuck in this step. Please suggest any workaround to achieve the same in text box or any workflows at least
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.