web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Populating display nam...
Power Apps
Unanswered

Populating display names from person field to a multiline textfield

(0) ShareShare
ReportReport
Posted on by 274

Hi PowerApp users,

I need to populate a multiline text field with person's display names.

The multiline text field is in list A.

The persons field (allowing multiple selection) is in another list B.

Any help appreciated.

Regards,

Kevin

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    If you have both lists on edit or new mode in PowerApps, on the default property of the field in ListA add ListBPersonField.Selected.DisplayName where ListBPersonField is the field on LIstB to select the person.

     

    So now, if you select the person on the ListBPersonField, the text field on list A should auto-populate with the name value.

     

    Not sure if that's what you needed but I hope it helps

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @kevingeorget,

    Could you please share a bit more about your scenario?

    Do you want to populate the Multiline text field with values from the Person field of all records of your List B?

    Or populate the Multiline text field with values from the Person field of one specific record of your List B?

    If you want to populate the Multiline text field with values from the Person field of all records of your List B, I have made a test on my side, please take a try with the following workaround:6.JPG

     

    7.JPG

    Set the OnVisible property of the Edit screen to following:

    Clear(DisplayNameCollection);
    ForAll(
    ForAll('20190129_case13_ListB'.Applicant, Applicant.DisplayName).Value,
    Collect(DisplayNameCollection, Value.DisplayName)
    )

    On your side, you should type:

    Clear(DisplayNameCollection);
    ForAll(
     ForAll('YourListB'.Applicant, YourPersonColumn.DisplayName).Value,
     Collect(DisplayNameCollection, Value.DisplayName)
    )

    Set the Mode property of the Text Input box within the Multiline text field Data card to following:

    Multiline

    Set the Default property of the Text Input box within the Multiline text field Data card to following:

    Concat(DisplayNameCollection, DisplayName & Char(10))


    If you populate the Multiline text field with values from the Person field of one specific record of your List B, I have made a test on my side, please take a try with the following formula:

    Set the Mode property of the Text Input box within the Multiline text field Data card to following:

    Multiline

    Set the Default property of the Text Input box within the Multiline text field Data card to following:

    Concat(
    LookUp('20190129_case13_ListB', ID=1).Applicant,
    DisplayName & Char(10)
    )

    On your side, you should type the following:

    Concat(
    LookUp('YourListB', ID = 1).YourPersonColumn, /* <-- Finf the specific record in your List B firstly, then get the corresponding Person column value */
    DisplayName & Char(10)
    )

     

    Best regards,

  • kevingeorget Profile Picture
    274 on at

    @Anonymousthanks for the reply. I was looking for something similar to what @v-xida-msft has suggested.

  • kevingeorget Profile Picture
    274 on at

    @v-xida-msftthanks for the reply. My List B contains only 1 record with a multivalued person field. This will be used by all the records within ListA.

    The ForAll condition provided won't work as the field has multiple values i guess.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @kevingeorget,

    The Applicant column is also a Person type column in my SP list, which has enabled "Allow multiple selections" option alreadly. So in my SP list, the Applicant column stores multiple values as that in your SP list.

    Based on the needs that you mentioned, I think the ForAll function could achieve your needs. Please take a try with above solution I provided, then check if the issue is solved.

    In addition, if your List B only contains single one record, you could also consider take a try with the following workaround:

    Set the Default property of the Text Input box within the Multiline text field Data card to following:

    Concat(
     First('YourListB').YourPersonColumn, /* <-- YourPersonColumn represents the Person column name within your SP list */
     DisplayName & Char(10)
    )

    Best regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard