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 / Retrieve names (choice...
Power Apps
Answered

Retrieve names (choices) collected through multi selecting Combo box to one column in SharePoint

(0) ShareShare
ReportReport
Posted on by

Hello, 

 

I have collected some 'Names' from Office365Users through Combo box (multi choice selection) into one column in ShareFile. I am now trying to retrieve that information from the SharePoint column into HTML Text (for PDF printing via flow). See below the code - SITE TEAM section is where I struggle. 

 

Ajwou_0-1615557255164.png

The column in SP has the following settings:

Ajwou_1-1615557401941.png

Please would anyone be able to help. 

 

Kind Regards, 

 

Ivo

 

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Ajwou 

    You did not mention what information you wanted to have in your Html from the Person column - Display Name, Email, Title, etc.

    I will assume DisplayName in this case.

    Please consider changing your Formula to the following:

    ...
    ...
    <td class='thirdWidth'>" & Concat(BrowseGallery1_1.Selected.SiteTeam, DisplayName & ", ") & "</td>
    ...
    ...

    This will give you a text of all of the DisplayNames in your column concatenated together with a comma-space.

    If the ending comma-space is an annoyance then also consider the following:

    ...
    ...
    <td class='thirdWidth'>" & With({_n:Concat(BrowseGallery1_1.Selected.SiteTeam, DisplayName & ", ")}, Left(n, Len(n)-2)) & "</td>
    ...
    ...

     

    I hope this is helpful for you.

  • Ajwou Profile Picture
    on at

    @RandyHayes 

     

    Thank you very much for your help. Yes, I was after DisplayName. Both suggestions worked so went with the second one (adding _ to the n argument). 

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Ajwou 

    Yes...oops, I forgot to put the underscore in on the n's.  Glad you spotted that and that it is working for you now.

  • Ajwou Profile Picture
    on at

    @RandyHayes 

    Please would there be also a way how to retrieve attachments from the SP list? Something like link to the attachment so when printed on PDF if could be either clicked on or copied and pasted to a web browser

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Ajwou 

    Yes, you can put in your Html something along these lines:

    ... <ul> " & Concat(BrowseGallery1_1.Selected.Attachments, "<li><a src=" & AbsoluteUri & ">" & DisplayName & "</a></li>") & "</ul> ...

  • Ajwou Profile Picture
    on at

    @RandyHayes 

    Thankyou for getting back this. The formula seems to struggle with the Attachment part - it only offers 'Has Attachments' column for some reason, however the Attachment column is in SP

     

    Ajwou_0-1615802450009.png

    Any suggestions?

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Ajwou 

    What is the Items formula for BrowseGallery1_1 ?

  • Ajwou Profile Picture
    on at

    @RandyHayes 

    I have a Search formula for Browse Gallery1_1

    Ajwou_0-1615822090859.png

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Ajwou 

    Is SharePointData the name of your DataSource or is that a variable/collection?

  • Ajwou Profile Picture
    on at

    @RandyHayes 

     

    I see - SharePointData is a variable/collection. Is there a way to read the data from the actual Data Source ShareFile?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard