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 / Loading from string to...
Power Apps
Unanswered

Loading from string to listbox

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I can store the selected items from a listbox with the concat function which is widely shared on the forum.

 

However, I am struggling to get my head around how to load them back into the list box and select those items again?

 

e.g. the list box has these values:

Value1

Value2

Value3

Value4

Value5

Value6

 

My string is Value1;Value3,Value5

 

How would I get the list box to select only those items after a refresh/reset etc? i.e. to reverse the concat feature.

 

Cheers,

Scott

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @Anonymous ,

     

    You can use the Split function for that: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-split

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi thanks for the follow up 🙂

     

    I can split the string back out but I cannot figure out how to set selecteditems of a list box control. 

    I can do it in a combo box but I am scratching my head on how to select items in the list box still.

     

    Cheers,

    Scott

  • BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @Anonymous ,

     

    Looking at the documentation (albeit hidden), it seems this control only allows for a single default item:

     

    BCBuizer_0-1671535481598.png

     

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-list-box#additional-properties

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard